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
- Filter First, Think Later February 21, 2026
- Five Hundred Bugs That Fuzzers Missed February 20, 2026
- Gemini 3.1 Pro and the 0.1 That Matters February 19, 2026