📅  最后修改于: 2022-03-11 14:47:00.137000             🧑  作者: Mango
myStack = []
#Add some elements to stack
myStack = [1, 5, 2, 8, 0]
maximumValue = max(myStack)
print("The maximum value is", maximumValue)