Class 8 – Friday, September 8
I know that
Problems are at hand – Float thoughts and string them along – To improve yourself
Look both ways
Test 1
- Will be September 29.
Agenda
- Look under the hood to see how Python treats variables and values
- Gain experience with string manipulation
- Better understanding of assignment through an understanding of circular shifting
Examples for discussion (right-click them)
- Module pause.py
- Provides a function
enter_when_ready()
- Program thats_so_random.py
- Introduce some helpful functions from the random module
- Program danger.py
- Shows some limitations of Python arithmetic
- Program under_the_hood.py
- Gives understanding how Python deals with variables and values
Examples for action (left-click them)
- Program prowess.py
- Practices some string manipulation
- Program shifty.py
- The program prompts for three strings and prints them in shifted order
Examples because you want more understanding
- Programming enquiring-minds-want-to-know.py
- Left to the enquiring student
To do list
- Review class artifacts
- Read about the Python
random
module capabilities.