Try this:
while(True):
x = raw_input("Enter something:")
if x == "":
break
Essentially, this will continue to ask the user Enter something:
until the user enters nothing. If you want to parse the input into numbers, then you will need to have a try:...except:...
in your code, or else it will break.
4
solved How do I ask a user continuously input something?