0

Can someone explain me why index is 1 why not 0

lst= [1,2,34,5] index = min(max(False,-3,-4),2,3,4) print(lst[index])

18th Jun 2020, 6:18 AM
Navneet
Navneet - avatar
2 Answers
+ 3
the index is 0. you're right. 1 is the element of lst that you print
18th Jun 2020, 6:23 AM
Taste
Taste - avatar