Hello I wanna compare two lists like this
a=[1,2] b=10,20]
compare(a,b) will return True if each element in a is > corresponding element in b
so compare( [1,2] > [3,4] ) is True
compare( [1,20] > [3,4] ) is False
hiow to do this the pythonic way
Cheers
Use zip: