Week 1
- Slides: Intro to Programming & Python
- Lab 1A: Meet & Greet
- Lab 1B: BMI Calculator
Week 2
- Slides: Conditionals
- Lab 2A: Aaah!
- Lab 2B: Bijele
- Lab 2C: Spavanac
Week 3
- Slides:
while
Loops - Lab 3A: Stuck In A Time Loop
- Lab 3B: Oddities
Week 4
- Slides: Lists and the
for
Loop - Lab 4A: FizzBuzz (using
while
loop) - Lab 4B: FizzBuzz (using
for
loop) - Lab 4C: Upside Down
Week 5
- Slides: Strings
- Lab 5A: Autori
- Lab 5B: Daylight Saving Time
Week 6
- Slides: Functions
- Slides: Recursion
- Lab 6A: Doubling Function
- Lab 6B: Fibonacci
- Lab 6C: Riječi
Week 7
- Slides: Working with Files
- Lab 7A: What's Your Major?
- Lab 7B: Major Stats
Optional Bonus Materials
- Slides: Sets
- Code example: Tasty Foods (set example)
- Optional Lab: I've Been Everywhere, Man
- Optional Lab: Modulo
- Slides: Dictionaries
- Code example: Phonebook (dictionary example)
- Code example: Phonebook File I/O (dictionary example)
- Optional Lab: Metaprogramming
Further Bonus Materials
- Pythonic Style -- Want to learn how to make your code more readable by others?
- Functional Programming -- Liked recursion? You'll be a fan of FP.
- Object Oriented Programming -- Define your own data types in Python.
- Generators and List Comprehensions -- Build lists in a loop in one line, and make your own iterable functions.
- Decorator Functions -- Make functions that modify other functions. It is reccomended that you complete the Functional Programming slides first.
- Web Programming with Bottle -- Make dynamic web applications using Python.
- Curses Programming (code example) -- Use
the
curses
library to control the terminal.