in python evaluate
12*(3%4)//2+6
Answers
Answered by
6
Answer:
24
Explanation:
The priorities of operators in python are as followed:
- ()
- ^ or * *
- /, // , %, *
- +,-
Using that,
we solve it in the following order:
- 12*(3%4)//2+6
- 12*3//2+6
- 36//2+6
- 18+6
- 24
Similar questions
Math,
2 months ago
CBSE BOARD X,
2 months ago
History,
2 months ago
English,
4 months ago
Math,
10 months ago
Political Science,
10 months ago