Class 6 – Monday, September 4
Fearlessly we march on — strings and input
A sign for knowing — what the future asks of us — demands we act now
Look both ways
Examples
- the_old_switcheroo.py – considers the subltety of swapping variable values
- stringing.py – provides a deeeper introduction to the string type
str
- all_consuming.py – chrestomathics
Agenda
- Help you better model how a computer works
- Consider assignment subtleties
- Advance your chrestomathics abilities
By the way
- Always use my header appropriately
General requirements (again)
- Before leaving demonstrate to a classmate or teaching assistant that you have met the problem specifications. Identify those person(s) as part of the header comments for your programs.
- Do not leave before your checkers have also been checked out by somebody(s).
Enquiring minds want to know
To do list
- Review class artifacts
- Read about Python string capabilities.