This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import random | |
def GetTime(draws): | |
# Just a helper function for printing how much time has passed to win the jackpot. | |
years = draws // 104 | |
rem = draws % 104 | |
weeks = rem // 2 | |
return "{} years and {} weeks".format(years, weeks) |