Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
import random
number = "1","2","3","4","5","6","7"
for i in range(100):
    question= raw_input("Do you want a number from 1 to 7")
    if question == "yes":
       print(random.choice(number))
    else:
      break