- 博客(1)
- 收藏
- 关注
原创 笨办法学Python习题33:while循环
将这个while循环改成一个函数,将测试条件(i < 6)中的 6 换成一个变量。def whifunc(a): i = 0 numbers = [] while i < a: print "At the top i is %d" % i numbers.append(i) i = i + 1 print "Numbers now: ",numbers ...
2018-04-06 14:10:43 456
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人