Columbus Python Workshop 1/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.

28 December 2012

  • curprev 11:0511:05, 28 December 2012imported>Catherinedevlin 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..."