Recitation 2a (Nov 7, 2011)

str.format usage examples.

Code examples

Example 1


Download (right click -> save link as "ex1.py")

Example 2


Download (right click -> save link as "ex2.py")

Interpreter session log

Balloons Model

Please see photos in the other recitation page.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License