CBSE Class 12 Computer Science
Question 102 of 120
Review of Python Basics — Question 54
Back to all questions6 * 3 + 4 ** 2 // 5 - 8
= 6 * 3 + 16 // 5 - 8
= 6 * 3 + 3 - 8
= 18 + 3 - 8
= 21 - 8
= 13
The above expression follows operator precedence rules in Python. First, exponentiation is evaluated, then floor division is performed, followed by multiplication, and finally, addition and subtraction. The result of the expression is 13.