Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (2.2k points)

i) Parentheses

ii) Exponential

iii) Multiplication

iv) Division

v) Addition

vi) Subtraction

A) i,ii,iii,iv,v,vi

B) ii,i,iii,iv,v,vi

C) ii,i,iv,iii,v,vi

D) i,ii,iii,iv,vi,v

1 Answer

0 votes
by (3.9k points)

The correct answer to the question “What is the order of precedence in Python” is option (a). i,ii,iii,iv,v,vi. Python also follows the same concept of precedence as used in Math. In Math, it is known as BODMAS, and in Python, you could remember PEMDAS as the order of precedence.

Looking out for a good course in Python? Check out Intellipaat’s Python course of 42 hours, with 50 hours of project work,  will help you in gaining mastery over Python. If you wish to get started, right away, then watch the following video on Python Course in Hindi.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 14, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer

Browse Categories

...