Okay so I'm trying to do this programming assignment and my random function isn't working. It's exactly the same as in my other assignments, but it's not working, and I've spent hours searching it. Can someone help me?
import random
repeat = 0
while repeat != "no":
random = input("How many numbers do you want?: ")
w = input(random.randrange(100)+)
print w*random
repeat=input("Do you want more random numbers? Yes or No: ")
if"yes"in repeat:
random
raw_input("Press Enter to exit!")
I need to make a program that asks you how many numbers you want (example 3) then it'll print 3 random numbers. And it also needs an exit function (like after you get your x amount of random numbers, you have a choice to quit) Can someone get me started or just show me how to make several different random numbers print at once?