Advertisement
swaggboi

Untitled

May 3rd, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. from datetime import date
  4.  
  5. if date.today().year >= 2020 :
  6.     print("error: this milk is expired!!")
  7. else :
  8.     print("milk is good.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement