0

Numeric functions

I´ve got this problem and I don´t understand why the answer is 44. Can anyone help? nums = (55, 44, 33, 22) print(max(min(nums[:2]), abs(-42)))

22nd Jun 2020, 1:44 AM
Adrian
Adrian - avatar
2 Respostas
+ 3
max(min(nums[:2]), abs(-42)) max(min([55, 44]), 42) max(44, 42) 44
22nd Jun 2020, 1:48 AM
Slick
Slick - avatar
+ 1
thanks mate!
22nd Jun 2020, 12:13 PM
Adrian
Adrian - avatar