Q18
What is the order of precedence for the arithmetic operators in Python?
A.
+, *, /, -
B.
/, *, +, -
C.
*, /, +, -
AnswerD.
+, -, *, /
Answer: Option C
Solution
Answer: Option C
Solution:
The order of precedence is: *, / (highest), +, - (lowest).