Multiple lists 16/19


#1

what's wrong?

list_a = [3, 9, 17, 15, 19]
list_b = [2, 4, 8, 10, 30, 40, 50, 60, 70, 80, 90]

for a, b in zip(list_a, list_b):
   if a >= b:
        print a
    else:
        print b

#2

the indent of if and else doesn't match, they are differently intended but they should be indented the same


#3

yeah stetim94 got it right, had similar problems until i observed well


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.