+ 2

Please explain how the answer is coming as 3 for the below code .

a = [7,3,9,5] b = [8,0,4] if a > b: print(len(a)) else: print(len(b))

25th Apr 2019, 1:28 PM
Suchismita Mishra
Suchismita Mishra - avatar
6 Antworten
+ 10
You just learn list & just list elements compared.
26th Apr 2019, 10:29 AM
Nasir❤
Nasir❤ - avatar
+ 4
Thank you so much .
25th Apr 2019, 1:50 PM
Suchismita Mishra
Suchismita Mishra - avatar
25th Apr 2019, 11:20 PM
Danny Pan
Danny Pan - avatar
0
سلا
26th Apr 2019, 3:05 AM
اسد الله یمگانی
اسد الله یمگانی - avatar