Foundations Overview¶
Build a solid Python foundation before diving into data structures and algorithms.
What You'll Learn¶
This phase covers the essential Python concepts you need to master before tackling complex algorithms.
Topics¶
| Topic | Description | Time |
|---|---|---|
| Python Basics | Variables, types, operators | 3 days |
| Control Flow | Conditionals, loops | 3 days |
| Functions | Functions, modules, error handling | 4 days |
Learning Objectives¶
By the end of this phase, you will be able to:
- Write clean, Pythonic code
- Understand Python's data model
- Implement basic algorithms from scratch
- Debug and test your code
Resources¶
- Python Official Docs
- Real Python
- Python Tutor - Visualize code execution
Practice¶
All practice files are in build/foundations/:
# Run Python basics examples
python build/foundations/01-python-basics/hello.py
# Run control flow examples
python build/foundations/02-control-flow/conditionals.py
# Run functions examples
python build/foundations/03-functions/basics.py
Next Steps¶
Start with Python Basics or jump to a specific topic.