What is the difference between > and >> in python?

hi,

this is my code for this exercise:

def larger_list(lst1, lst2):
if len(lst1) < len(lst2):
return lst2[-1]
else:
return lst1[-1]

when i run this code, the function works, but if i replace “<” with “<<”, it doesn’t work anymore. just wanted to know why that is, and if someone can explain the difference in practice between < and << (i.e when do we use one over the other)