Learning-cicle/sami/learn-python-the-hard-way/ex33.py

20 lines
242 B
Python
Raw Normal View History

2020-05-29 15:00:06 +00:00
i = 0
numbers = []
while i < 6:
print(f"At the top i is {i}")
numbers.append(i)
i = i + 1
print("Numbers now: ", numbers)
print(f"At the bottom i is {i}")
print("The numbers: ")
for num in numbers:
print(num)