Evaluate the following expression and write the output. print(12 %5*3+(2*6) // 4)
Answers
Answered by
1
Answer:
a917362872 29y3738291
Answered by
3
Answer:
9
Explanation:
The priorities of operators in python are as followed:
- ()
- ^ or * *
- /, // , %, *
- +,-
Using that,
we solve it in the following order:
- (12 %5*3+(2*6) // 4)
- (12 %5*3+12 // 4)
- (2*3+12 // 4)
- (6+12 // 4)
- 6+3
- 9
Similar questions
Computer Science,
3 months ago
Math,
3 months ago
English,
3 months ago
Political Science,
6 months ago
Math,
6 months ago
Math,
11 months ago
Biology,
11 months ago