Another While Loop
April 06, 2018
As the title says, just another while
loop for practice.
i = 0
numbers = []
while i < 7:
print "The number at the top is now: %d" % i
numbers.append(i)
i = i + 1
print "Numbers are now", numbers
print "The number at the bottom is now: %d" % i
print "The numbers:"
for num in numbers:
print num
Recent Entries
- The Rise of Agents in Agentic Coding: Transforming Software Development August 20, 2025
- Bleu de Chanel L'Exclusif August 19, 2025
- CSS Optimization August 19, 2025