Python Operators - Grade 6 Worksheet
What are Operators?
Operators are special symbols used to perform operations like addition, subtraction, comparison, etc.
1. Arithmetic Operators
Operator Meaning Example Output
+ Addition 5+3 8
- Subtraction 10 - 4 6
* Multiplication 2*6 12
/ Division 8/2 4.0
// Floor Division 9 // 2 4
% Modulus 7%3 1
** Exponent 2 ** 3 8
2. Comparison Operators
Operator Meaning Example Output
== Equal to 5 == 5 True
!= Not equal to 4 != 3 True
> Greater than 7>2 True
< Less than 2<5 True
>= Greater or equal to 6 >= 6 True
<= Less or equal to 3 <= 4 True
3. Logical Operators
Operator Meaning Example Output
and Both conditions true 5 > 3 and 8 > 6 True
or Any one condition true 5 > 3 or 8 < 6 True
not Reverses the condition not(5 > 3) False
Quick Examples
Python Operators - Grade 6 Worksheet
print(4 + 5) #9
print(10 > 2) # True
print(3 < 1 or 5 > 2) # True
print(not(7 == 7)) # False