Loops and Lists
March 1, 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
- Static at the Hydrogen Line May 8, 2026
- From Hands-Off to Pre-Deployment May 8, 2026
- Sleep, Branded May 8, 2026