UNIT 02 · TOPIC 02
Arithmetic Operators
Arithmetic operators perform calculations: +, -, *, /, //, %, and **.
The idea
Arithmetic Operators, simply explained
Arithmetic operators perform calculations: +, -, *, /, //, %, and **.
01
See the big picture
How the idea flows
Read the diagram as a simple path: begin with a problem, use the Python idea, then verify the result.
02
Everyday connection
Real-life example
↗
A cashier multiplies item price by quantity and uses remainder to split items into full groups.
03
Learn by doing
Python code example
PYTHONExample
price, count = 45, 3
print(price * count)
print(17 % 5)Expected result
135
2Try it: Change one value in the code, predict what will happen, then run it and compare your answer.
04
Keep this in mind
Key takeaways
- Arithmetic operators perform calculations: +, -, *, /, //, %, and **.
- Think of a real problem where arithmetic operators could save time or organize information.
- Test small changes and read the result carefully before moving to a bigger program.
Quick self-check
Can you explain it in your own words?
What is the main idea of Arithmetic Operators?
Arithmetic operators perform calculations: +, -, *, /, //, %, and **.
Where could you see this idea in everyday life?
A cashier multiplies item price by quantity and uses remainder to split items into full groups.
