Philadelphia Python Workshop/Lecture/Loops: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 March 2013

  • curprev 12:1812:18, 27 March 2013imported>Geography76 3,460 bytes +3,460 Created page with "== For loops == Use a <code>for</code> loop to do something to every element in a list. <pre> >>> names = ["Jessica", "Adam", "Liz"] >>> for name in names: ... print nam..."