I am seeing some code online for python and testing a few things on my own. I found this sample online and I am very confused...
I have 2 lists of ints, I compare if one list is greater than the other and return true if it is, except I am confused on what is being compared? its not the length or the sum of values, so I do not know why its returning True.
list1 = [0, 1, 2, 4]
list2 = [0, 1, 2, 3, 4]
if list1 > list2:
print("true")
else:
print("false")