0% found this document useful (0 votes)
7 views

Numbers & Operators - 3

Powerpoint to accompany the 3rd lesson on Numbers and Operators in Python for KS3 students.

Uploaded by

Aakifah Rahman
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Numbers & Operators - 3

Powerpoint to accompany the 3rd lesson on Numbers and Operators in Python for KS3 students.

Uploaded by

Aakifah Rahman
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

Numbers & Operators 3

Learning Objective
• Be able to use Python to solve a variety of real-
world problems using numbers and operators.

Success Criteria
• YOU MUST BE ABLE TO - Use Python to perform
calculations using numbers.
• YOU SHOULD BE ABLE TO – Use the appropriate
operators in each Python code that uses numbers
• YOU COULD BE ABLE TO - Write Python code to solve
real-world problems.
STARTER

Brainstorming
• Why do we need reserved words in Python?

• Do all variables have 2 parts – variable name and variable


value?
STARTER ANSWERS

• Reserved words in Python are used to perform specific tasks


eg: ‘print’ is used to print outputs onto the screen, ‘if’ is used
for making conditions/choices etc.

• Yes all variables have 2 parts – variable name and variable


value.
How to code real-world problems in
Python?

TIPS TO KEEP IN MIND

• Read the real-world problem 2 times


• Understand what is happening in the situation
• Create the variables necessary to store the numbers required for this
problem
• Use operators to do calculations
• Remember to print out the final output/answer
OUTLINE OF PROGRAM TO KEEP IN
MIND
CLASS ACTIVITY
Complete the 2 Class tasks
TASK 1
Write a Python program to show the following real-world situation

• Dana has 4 pencils


• Sara has 3 pencils
• How many pencils do they both have in total? Print the total answer as output

dana = 4
sara = 3
total = dana + sara
print (total)
TASK 2
Write a Python program to show the following real-world situation

• Hala went to the supermarket with 15 riyals


• She bought some oranges for 4 riyals, and then some lemons for 2 riyals
• How much balance money does she have left with her ? Print the answer as
output

money = 15
oranges = 4
lemons = 2
balance = money – oranges - lemons
print (balance)
EXTENSION TASK
Write a Python program to show the following real-world situation

• Ayesha wants to buy 5 bracelets from Claires for 5 of her friends. The cost of 1
bracelet is 10 riyal. Ayesha has 80 riyal with her when she goes shopping.
• How much money does she have balance after shopping? Print out the answer.

money = 80
bracelet= 10
total_bracelet= bracelet* 5
balance = money – total_bracelet
print (balance)
PLENARY
PLENARY QUIZ
Quiz on Quizizz to recap all topics covered so
far

https://quizizz.com/admin/quiz/6506c30c38cedfbf40b68955?
source=quiz_share
Rate Your Progress
You have understood some of the objective and you will think
about it some more later on, perhaps asking a friend or teacher
for help.

You have understood most of the objective and you are happy
with your progress.

You feel fully confident with this objective and you understand
it well.

Success Criteria:
•YOU MUST BE ABLE TO - Use Python to perform calculations using
numbers.
•YOU SHOULD BE ABLE TO – Use the appropriate operators in each
Python code that uses numbers
•YOU COULD BE ABLE TO - Write Python code to solve real-world
problems.

You might also like