Home » Programming Language (coding) » Python MCQ » Which of the following precedence order is correct in Python?

Which of the following precedence order is correct in Python?

Which of the following precedence order is correct in Python?

A. Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
B. Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
C. Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
D. Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

Correct Answer: Option A. Parentheses, Exponential, Multiplication, Division, Addition, Subtraction 

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
25 ⁄ 5 =