Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import random, time
print("Welcome.")
money = 0
while True:
	print('\n')
	a = int(input("Input your lotto number from 1 to 10" + '\n'))
	print('\n', "Your number is ", a)
	lottery = random.randint(1, 10)
	if lottery == a:
		money += 1000
		print('\n', "YOU HAVE", money, "DOLLARS NOW!!!")
	else:
		print('\n', "You did'nt win ཀ ʖ̯ ཀ")
		print('\n', "The winner is ", lottery, '\n')