CS 111: Introduction to Computer Science
Winter 2017
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 the next class.
- strings1.py -- string indexing and slicing
- strings2.py -- iteration over a string
- lists.py -- an introduction to Python lists