Anonymous user
Community Data Science Workshops (Fall 2014)/Day 1 lecture: Difference between revisions
Community Data Science Workshops (Fall 2014)/Day 1 lecture (view source)
Revision as of 17:35, 8 November 2014
, 9 years ago→loops and more flow control
imported>Mako |
imported>Mako |
||
Line 94:
** show we can test things outside the loop to show how the comparisons are working
** add an else statement to capture words that start with a consonant
** append to a list within a for loop
** create a counter within a for loop (keep track)
* nested <tt>for</tt> loops
* <tt>range()</tt>
|