Week 1

Python Foundations I

Variables, data types, input/output, operators, and expressions.

Learning goals

Suggested classroom flow

SessionFocusOutput
Day 1Concept introduction and guided examplesNotebook or script
Day 2Hands-on lab and teacher walkthroughWorking code
Day 3Practice tasks and discussionAssignment draft
Day 4Assessment and mini projectSubmission

Mini project

Marks Analyzer Lite

Outcome for the week: students should finish with usable code, a short explanation, and at least one visual or result artifact.

Quick MCQ preview

Q1. Which operator gives the remainder in Python?

Explanation: The % operator returns the remainder.

Q2. Which data type stores True or False?

Explanation: bool stores Boolean values.

Q3. What does input() return by default?

Explanation: input() returns text unless converted.