max() and min()
|
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)
|
|
|
Related Scripts with Example Source Code in same category :
-
|
|