evaluate 222*(33%2)/14+10 and write the output
Answers
Answered by
1
Answer:
25.857142857142858
Explanation:
The priorities of operators in python are as followed:
- ()
- ^ or * *
- /, // , %, *
- +,-
Using that,
we solve it in the following order:
- 222*(33%2)/14+10
- 222*1/14+10
- 222/14+10
- 15.857142857142858 + 10
Similar questions