DEPARTMENT OF COMPUTER SCIENCE
GRADE 7
NOTES
SESSION 4: PYTHON – OPERATORS in PYTHON
Learning Objective
1) Use different operators in Python Programs.
2) Describe the function of different types of operators
Arithmetic Operators
• Operators that are used to perform mathematical/string operations
Assignment Operators
• Operators that are used to assign value to variables.
Comparison (Relational) Operators
• Relational operators are used to compare values and determine the relationship
between them.
• Return either ‘True’ or ‘False’ according to the condition.