Question: Codio - Arithmetic Operators ithmetic - operators - part - 2 Operators rmative Assessment 2 Python Operators Which operation should be performed first in the

Codio - Arithmetic Operators
ithmetic-operators-part-2
Operators
rmative Assessment 2
Python Operators
Which operation should be performed first in the following expression?
72+(52**5)****2-3
5%2**5
72
5%2
5****2
Using PEMDAS, the first operation to be performed is the parentheses. However, there are two operations inside the parentheses. Since modulo and multiplication fall into the same category of PEMDAS, these operations are done left to right. So 5%2 is performed first.
Check It!
JAN17
"
a
(I0)
 Codio - Arithmetic Operators ithmetic-operators-part-2 Operators rmative Assessment 2 Python Operators

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!