+ 1
Please help me to explain this code step by step
nums = (55, 44, 33, 22) print(max(min(nums[:2]), abs([-42])))
3 ответов
+ 3
Solution in code👇
https://code.sololearn.com/cVC8FRG2x3DJ/?ref=app
I hope you understand
0
so 1st we split that line so we can understand it better .
1- nums[:2] = [55,44]
2- min(nums[:2]) =min([55,44])=44
3- abs(-42) = 42
4- max(44,42) it will be 44
0
@ <Derrickee/> thank you so much I really understand.