# Philip Holtzman
# Jul 28th 2017
# Ch.8 Problem 2 

# import random, gotta do it weird like this cuz repl.it
from random import randrange

# initialize list
lotteryNum = [0,0,0,0,0,0,0]

# run through the list assigning elements to random()
for i in range(len(lotteryNum)):
  lotteryNum[i] = randrange(10)

#print it out.. 
print("Todays Winning number is: ", *lotteryNum, sep='')
  
  
24812bf2cbaccfbf564cc3635c6d80e20b6a05e4
<mask token>

<mask token>
for i in range(len(lotteryNum)):
    lotteryNum[i] = randrange(10)
print('Todays Winning number is: ', *lotteryNum, sep='')

<mask token>
lotteryNum = [0, 0, 0, 0, 0, 0, 0]
for i in range(len(lotteryNum)):
    lotteryNum[i] = randrange(10)
print('Todays Winning number is: ', *lotteryNum, sep='')

from random import randrange
lotteryNum = [0, 0, 0, 0, 0, 0, 0]
for i in range(len(lotteryNum)):
    lotteryNum[i] = randrange(10)
print('Todays Winning number is: ', *lotteryNum, sep='')

# Philip Holtzman
# Jul 28th 2017
# Ch.8 Problem 2 

# import random, gotta do it weird like this cuz repl.it
from random import randrange

# initialize list
lotteryNum = [0,0,0,0,0,0,0]

# run through the list assigning elements to random()
for i in range(len(lotteryNum)):
  lotteryNum[i] = randrange(10)

#print it out.. 
print("Todays Winning number is: ", *lotteryNum, sep='')
  
  