max() and min() : Max « List « Python Tutorial






num_list = [43, -1.23, -2, 6.19e5]
str_list = ['jack', 'jumped', 'over', 'candlestick']
mixup_list = [4.0, [1, 'x'], 'beef', -1.9+6j]

max(str_list)
max(num_list)
min(str_list)
min(num_list)








7.17.Max
7.17.1.Get max from a list
7.17.2.max() and min()