CBSE Class 11 Informatics Practices Question 29 of 102

Python Programming Fundamentals — Question 6

Back to all questions
6
Question

Question 6

What is the order of precedence of arithmetic operators given below in Python?

(1) Parenthesis
(2) Exponential
(3) Multiplication
(4) Division
(5) Addition
(6) Subtraction

  1. 1,2,3,4,5,6
  2. 2,3,4,5,6,1
  3. 1,3,2,6,4,5
  4. 4,6,5,2,3,1
Answer

1,2,3,4,5,6

Reason — The order of precedence of arithmetic operators in Python is Parenthesis (), Exponential (**), Multiplication (*), Division (/), Addition (+), Subtraction (-).