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 16:48, 8 November 2014
, 9 years ago→Review Friday material
imported>Mako |
imported>Mako |
||
Line 39:
** if, something that evaluates to a boolean, and then colon
** e.g., <code>if "mako" in "makoshark"</code>
** e.g., adding else example: <code>if brother_age > sister_age</code>
** e.g., tempreature range
** e.g., adding elif: fix the bug in the previous program if they were the same age
|