Just First week of learning Python I am trying to print max value from python 3 list. But output is not the max number.
Code:
amount = ['123250','546698','456987','8','1']
print(max(amount))
Output:
8
Screen shot:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…