python循环函数怎么改变变量_python函数与循环、变量的综合使用
#! /usr/bin/pythoni = 0o = 7p = 2numbers = []def w(startnum,endnum):while startnum < endnum:print "At the top is %d" % startnumnumbers.append(startnum)startnum += p #使用变量pprint "Numbers now: ",n...