Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- # Split today's date into three parts, year, month, day, and put them in a list called today.
- today = [int(datepart) for datepart in str(datetime.date.today()).split('-')]
- n = 50 # the number of combinations
- f = 1234 # change this to your secret number
- for num in today:
- print (num * f) % (n+1)
Add Comment
Please, Sign In to add comment