CS 111
Fall 2016
Introduction to Computer Science
Lab02: More Python basics
If you missed last week's lab, see the general lab instructions on the first lab's page.
During this lab, you will work with the following programs. As before, save a copy of each program on your computer, open it up, and read the instructions you find in the program. Play around with programs to make sure you understand what they do and why. Ask questions during lab, or bring them to class Monday.
- strings3.py -- string methods; official documentation
- strings4.py -- formatted strings; official documentation
- functions.py -- a quick check on how parameters and return values work
- loops.py -- exploring a variety of loop structures
- menu.py -- using functions to create a menu-driven program