Lesson 4: Sequences and secrets
Outline:
- Mini-quiz
- From last time: accumulating factorial example
string
s as sequences
- Basic operations
split
andjoin
- Exercises 1 + 2
- Other
string
methods - Exercises 3 + 4
- Representing strings in computers
- ASCII and Unicode,
chr
andord
- example: encoding/decoding messages
- ASCII and Unicode,
- Exercise 5
Reading assignment (to be completed by the next class):
- Zelle sections 5.1-5.2 (pp. 129-136)
- Zelle sections 5.4-5.5 (pp. 139-147)
- Zelle section 5.7 (pp. 150-151)