>>> type(None) <class 'NoneType'>
None
x = 42 y = None if x == y: print("they're the same") else: print("they differ") x = None y = None if x == y: print("they're the same") else: print("they differ")
Index