Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. >>> now1 = datetime.datetime.now()
  2. >>> now2 = datetime.datetime.now()
  3. >>> now3 = None
  4.  
  5. >>> (now1 is not None, now1, 1) < (now2 is not None, now2, 3)
  6. True
  7. >>> (now1 is not None, now1, 1) < (now3 is not None, now3, 3)
  8. False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement