The very basics
(from Hyperskill Python Intro section)
- Python history: version 2 vs 3; now popular for AI & ML
- Whitespace, quotations, language conventions, operators
- Control statements: blocks, if-elif-else, while
- Modules and import
How to practice Python
Do one or more of these based on your preferences!
A crash course into Python
(from Ch 2 of “Data Science from Scratch” by Joel Grus)
- Zen of Python
- Installing
- Virtual environments
- Whitespace
- Modules and import
- Functions
- Strings
Practice functions
Everyone open Repl.it
accounts. Work in teams,
one person should fork from below and then give “invite” link to others:
Language basics
- Lists
- Tuples
- Dictionaries (default, Counter)
Practice basics
Fork it this time, work in teams
Misc Python Oddities
- Sets
- Control flow
- Truthiness
- Sorting
- List comprehensions
- Zip and argument unpacking
- Type annotations
Practice Misc Python Stuff
Fork it, work in teams