程序如下,向各位求教,谢谢
#coding:utf-8
i=0
numbers = []
n=raw_input("请输入一个数字")
print n
while(i < n):
print "At the top i is %d " % i
numbers.append(i)
i = i + 1
print "Numbers Now:," , numbers
print "At the bottom i is %d " % i
print "The numbers:"
for num in numbers:
print num
~
~
~
~
~
~