Link To Automate The Boring Stuff
Included:
- Python
- Basics
- hello_world.py -
print(), input(), str(), int()
, basic types - vampires.py -
bool
s, bool operators, control flow (if/else) - password.py -
while
loops,break, continue
- sum.py -
for
loops,range()
, accumulation
- hello_world.py -
- while-random
- raffle.py - raffle program picks winners
- average.py - averages list of floats
- randomPick.py - rolls an n-sided die
- forloops
- vowels.py - finds a replaces vowels given input strings
- Basics
- Slides
- Python
- week0slides.pdf - covers types, variables, built-in functions
- week1slides.pdf - reviews chapter 1, covers booleans, comparison and boolean operators
- cond-while-list.org - reviews chapter 2 conditionals and while loops, introduces lists (ahead of time!)
- Python
- Activities
- For Loops