30000L
-1.8
Numbers & Operators 2 22
Starter (Students should try in Python)
What would be the output of the following code?
HINT:
Module operator
finds the
remainder of
division
OBJECTIVES
• Use Numerical Operators to solve real world
problems
SUCCESS CRITERIA
You Must: Be able to write simple programs in Python that use
numbers and operators
You Should: Complete the solution to the given tasks
You Could: Do all of the above and assist your assigned peer to
coach them to complete their task
IM
REMINDER ABOUT PRINT PO
RT
A
• The print function in Python should be always in NT
small letters !!
• Example:
print (“Hello”) works
PRINT( “Hello”) does not work X
RECAP
KEYWORDS: Addition, subtraction, multiplication, division, modulus, exponent.
CLASS ACTIVITY
Task 3
Save the screenshot of your work
into your Class Notebook on
Teams
. Write the code lines below in the CORRECT order. What is your
output?
potatoes = apples - oranges
oranges = 2
print(potatoes)
apples = 23
KEYWORDS: Variable, value, print, Assign, addition, multiplication, division
Task A
Save the screenshot of your work
into your Class Notebook on
Teams
1) Type the code on the left.
number1 = 5 2) Run and view the output.
number2 = 3 3) Change the operator to
answer = number1 - number2 exponent.(The final output
print(answer) must be 125)
5) Take a snip of your code.
KEYWORDS: Variable, value, print, Assign, addition, multiplication, division
Task B
Save the screenshot of your work
into your Class Notebook on
Teams
1) Type the code on the left.
2) Run and view the output.
number1 = 8 3) Create a new variable z with a
number2 = 6 value 10.
answer= number1 / number2 4) Change the code to Add the three
print(answer) numbers together.
5) Take a snip of your code.
KEYWORDS: Variable, value, print, Assign, addition, multiplication, division
Task C
Save the screenshot of your work
into your Class Notebook on
Teams
1) Type the code on the left.
2) Run and view the output.
number1 = 6 3) Now create a new variable z with a
number2 = 2 value 10.
answer= number1 % number2 4) Change the code to Multiply all
print(answer) three numbers together.
5) Take a snip of your code.
KEYWORDS: Variable, value, print, Assign, addition, multiplication, division
Task 4
Save the screenshot of your work
into your Class Notebook on
Teams
. Quizizz Quiz
https://quizizz.com/admin/quiz/613dc71e20bb25001dc2a778
KEYWORDS: Variable, value, print, Assign, addition, multiplication, division
PLENARY – Do a self evaluation
I achieved level …… today
Level 2 Level 3 Level 4
Level 1
I can I can fix I can I can use
print in simple create a operators
my problems Python with
programs that program numbers
make my with to solve
program variables real
not work that store world
numbers problems