When doing mathematical calculations it might may so happen that we may encounter **more than one operator like +, -, , / and so on**. In such cases, we will use the order of precedence which is called **PEMDAS**. PEMDAS stands for
**P - parentheses - ( )**
**E - exponential - e**
**M - multiplication - **
**D - division - /**

**A - addition - +**

**S - subtraction - -**Here parentheses have the highest priority and subtraction lowest. For example, we have an expression

`y = 30-(10+ 8)*2 / 4`

In this expression, the order of calculation is as follows using the PEMDAS rule
10 + 8 = 18
18 * 2 = 36
36 / 4 = 9
30 - 9 = 21In the below example we have evaluated the expression `y = 30-(10+ 8)*2 / 4`

using **python language**