Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- x = datetime.datetime.now()
- if x < 12:
- print("Good morning!")
- if x > 12:
- print("Good evening!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement