
Technology • 45 • Created with AI following Aligned with Common Core State Standards
Unit: Python Programming Basics (Lesson 5 of 6)
Key Stage: KS4 (GCSE) / KS5 (A-Level)
Time Duration: 45 minutes
Class Size: 15 students
Curriculum Link:
By the end of this lesson, students will be able to:
Teacher’s Role:
+, -, *, /, //, %, **.Instructor Demonstration (Live Coding):
# Addition
total = 5 + 3
print(total) # Outputs 8
# Subtraction
difference = 10 - 4
print(difference) # Outputs 6
# Multiplication
product = 7 * 2
print(product) # Outputs 14
# Division
quotient = 10 / 3
print(quotient) # Outputs 3.333...
# Floor Division
floor_result = 10 // 3
print(floor_result) # Outputs 3
# Modulus (Remainder)
remainder = 10 % 3
print(remainder) # Outputs 1
# Exponentiation
power = 2 ** 3
print(power) # Outputs 8
Students work in pairs to create a Python script for a café owner who wants a program to:
# Prices of products
coffee_price = 2.50
cake_price = 3.75
# Quantity purchased
coffee_qty = int(input("Enter number of coffees: "))
cake_qty = int(input("Enter number of cakes: "))
# Total cost calculation
total = (coffee_price * coffee_qty) + (cake_price * cake_qty)
# Apply a discount if total is above £20
if total > 20:
total *= 0.9 # Apply 10% discount
# Display result with two decimal places
print(f"Final cost: £{total:.2f}")
total = (10 * * 2) - (5 // 2)
printtotal
total = (10 ** 2) - (5 // 2)
print(total) # Outputs 98
Class Discussion:
// operator used for?/ and %?For High-Achievers:
For SEN / EAL Students:
if and elif statements).Teacher's Note:
This lesson balances theory with practical application, embedding real-life problem-solving into Python arithmetic. Students will leave with a strong grasp of using operators and debugging basic errors.
Join thousands of teachers using Kuraplan AI to create personalized lesson plans that align with Aligned with Common Core State Standards in minutes, not hours.
Created with Kuraplan AI
🌟 Trusted by 1000+ Schools
Join educators across United States