Week 1 · 5 topics · 20 lessons
Getting started
By the end of this week: Learners will be able to write and execute basic Python programs, understand core data types, and manage program flow.
1.1Introduction to Python
- Why learn Python?
- Setting up Python environment
- First 'Hello World' program
- Interactive shell usage
1.2Variables and Data Types
- Declaring variables
- Numbers (int, float, complex)
- Strings and string manipulation
- Booleans and NoneType
1.3Operators and Expressions
- Arithmetic operators
- Comparison operators
- Logical operators
- Operator precedence
1.4Control Flow: Conditionals
- If, elif, else statements
- Nested conditional logic
- Ternary operator
- Handling user input
1.5Control Flow: Loops
- For loops with range()
- While loops
- Break and continue statements
- Looping over sequences
Getting started
Hands-on project
Simple command-line calculator
