Tool
Python
The language behind AI, automation, and the web
Learn Python fundamentals — syntax, data types, control flow, and functions — through a real, runnable sandbox.
10
Chapters
21
Hours (estimated)
1
Self-paced
Part-time
About 7 weeks
1 hour a day, 3 days a week
Full-time
About 3 weeks
3 hours a day, 3 days a week
Estimated from 10 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.
Curriculum
10 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1
Introduction to Python
Why Python, and writing your first few lines.
- 2
Data Types & Variables
Integers, floats, strings, booleans, type(), and converting between them.
- 3
Numbers & Arithmetic
Arithmetic operators, two kinds of division, order of operations, and min/max/abs.
- 4
Control Flow
Booleans, comparison operators, and/or/not, if/elif/else, and truthiness.
- 5
Loops
for loops, range(), while loops, break/continue, and list comprehensions.
- 6
Functions
help(), def, return values, docstrings, default arguments, and passing functions around.
- 7
Lists & Dictionaries
Lists, indexing and slicing, list methods, tuples, and dictionaries.
- 8
Strings
Quotes and escapes, strings as sequences, string methods, split/join, and format().
- 9
Error Handling
Reading tracebacks, common exceptions, try/except/else/finally, and raise.
- 10
Modules & Packages
import, aliases, from-imports, submodules, pip, and exploring unfamiliar objects.
Python is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.