PYTHON FOR BEGINNERS –
12-HOUR COURSE OUTLINE
Target Age: 12–17 years
Duration: 6 sessions × 2 hours = 12 hours total
Prepared by : Eng/Mohamed Abowarda
SESSION 1: INTRODUCTION TO COMPUTERS &
PYTHON PROGRAMMING
• What is a Computer?
o Definition and basic components
o Difference between hardware and software
• What is Programming?
o Real-life examples of code in apps, games, and websites
o How code talks to the computer
• Why Python?
o Easy to read, fun, beginner-friendly
• First Code:
o print("Hello, world!")
o Printing text, numbers, and combining them
Mini Activity: Students create a short intro about themselves using print()
SESSION 2: VARIABLES, DATA TYPES, AND USER
INPUT
• What are variables?
• Types: int, float, str
• Performing basic math operations
• Getting user input using input()
• Converting between data types
Mini Project: Create a calculator that asks for two numbers and
adds/subtracts them
SESSION 3: DECISION MAKING WITH IF-ELSE -MATCH
STATEMENT
• if, elif, else statements
• Comparison operators (>, <, ==, etc.)
• Logical operators: and, or
• Match Statement
Mini Project: Grade checker or age-based message generator
SESSION 4: LOOPS – REPEATING WITH WHILE AND
FOR
• while loops
• for loops and range()
• Using break and continue
• Looping through strings
Mini Project: Number guessing game or password retry system
SESSION 5: FUNCTIONS – BREAKING CODE INTO
REUSABLE PARTS
• What is a function? Why use it?
• Creating functions with def
• Function parameters and return values
• Calling functions in different ways
Mini Activities:
o Build a function that checks if a number is even
o Calculator functions: add, subtract, multiply
SESSION 6: LISTS + GUIDED MINI PROJECT
• What are lists and why use them?
• Accessing, modifying, and looping through lists
• Adding/removing items (append, remove)
Mini Project:
Build a "Favorite Things" manager, student score tracker, or a simple quiz
using lists
FINAL PROJECT – INDEPENDENT STUDENT WORK
• Students apply what they learned: variables, input, if-else, loops, functions,
lists
• Each student selects and builds their own project
• Suggested Project Ideas:
o A personal quiz game (with scores)
o A virtual shopping cart using lists
o A password checker with retry attempts
o A student gradebook that stores and evaluates marks
o A simple text-based adventure or decision-making game