2021-04-20 16:47:17 +00:00

17 lines
254 B
Python
Executable File

#!/usr/bin/python3
i = 0
numbers = []
while i <= 5:
print(f"At the top i is {i}")
numbers.append(i)
i += 1
print(f"Numbers now: {numbers}")
print(f"At the bottom is: {i}")
print("The numbers: ")
for num in numbers:
print(num)