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

18 September 2012

  • curprev 00:5100:51, 18 September 2012imported>Jesstess 3,547 bytes +3,547 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..."