Loops and Lists
March 01, 2018
I started looking at loops and lists today - while it's snowing outside. More snow tomorrow apparently. The new addition today is the range() function.
elements = []
for i in range(1, 6):
print "Adding number %d" % i
elements.append(i)
for i in elements:
print "The numbers %d" % i
Recent Entries
- Unarchived Memories December 17, 2025
- Fixing CloudFront HTTP/2 Configuration December 15, 2025
- Packets to a Silent Modem December 14, 2025