I'm very new to python and I'm stuck with a basic function. Any help is appreciated :  def func(i):
 	numbers=[]
 	for x in range(0,i):
 		print "At the top x is %d" %x
 		numbers.append(x)
 		x=x+1
 		print "At the bottom x is %d" %x

    print "The numbers:"
 	for i in numbers:
 		print i

print "I'm going to print the numbers!"
i=raw_input("Enter the number: ")
func(i)

#I'm using python 3.0 and using textwrangler and terminal to code. The code is supposed to print all numbers from zero to the input.