Page 130 - Plus V4 with Adobe class 6
P. 130
Program 4: To show all the relational operators’ functions
The result of the above program is:
Interdisciplinary Learning
#Mathematics
Write a program in Python to calculate the area of a square.
#Lab Activity
PRECEDENCE OF OPERATORS
Precedence of operators determines the order in which the operators are executed. The operator
precedence in Python is listed in the given table. The highest precedence is at the top.
The following table shows the precedence of operators in Python:
Operator Name
() Parenthesis
** Exponent
*, /, %, // Multiplication, Division, Modulo, Floor Division
+, – Addition, Subtraction
128 Plus (Ver. 4.0)-VI

