[Courses] [python] Lesson 2: Loops, if, and beer

Eeva Järvinen ejarvinen at gmail.com
Sat Jun 25 12:27:47 UTC 2011


(delurks)

I couldn't resist giving this a go:

You can also do it like this:

numbers = ["one", "two", "three", "four", "five"]
for i in numbers:
   print i

(goes back to lurking)


Eeva


More information about the Courses mailing list