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
English,
2 months ago
Music,
2 months ago
English,
6 months ago
Math,
11 months ago
Political Science,
11 months ago