Skip to content

Commit a2f4c30

Browse files
committed
added exercise 33
1 parent 8c99727 commit a2f4c30

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ex33.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
i = 0
2+
numbers = []
3+
4+
while i < 6:
5+
print "At the top i is %d" % i
6+
numbers.append(i)
7+
8+
i = i + 1
9+
print "Numbers now: ", numbers
10+
print "At the bottom i is %d" % i
11+
12+
13+
print "The numbers: "
14+
15+
for num in numbers:
16+
print num

0 commit comments

Comments
 (0)