repl.it
@lolfail/

lotto

Python 2.7

Real chances but no prize!

fork
loading
Files
  • main.py
  • lottos
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from random import randint
infinite = 32 ^ 2
lotto_chooser = int(raw_input("Choose a lotto: "))
if lotto_chooser == 5:
	from lottos import lotto_5
elif lotto_chooser == 6:
	from lottos import lotto_6
else:
	for lotto in range(infinite):
		print "There isn't a lotto %d " % (lotto_chooser)
		lotto_chooser = int(raw_input("Choose again: "))
		if lotto_chooser == 5:
			from lottos import lotto_5
			break
		elif lotto_chooser == 6:
			from lottos import lotto_6
			break
?