Skip to content

Instantly share code, notes, and snippets.

i = 0
numbers = []
new_variable = int(raw_input("What is the number you want to go up to? >>> "))
while i < new_variable:
print "At the top i is %d" % i
numbers.append(i)
i = i + 1
print "Numbers now: ", numbers