What is the order of precedence in python?

Questions & AnswersCategory: Programming LanguageWhat is the order of precedence in python?
Geek Boy Staff asked 2 years ago

What is the order of precedence in python?

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