McqMate
| Q. |
What will be the value of the following
|
| A. | 3 |
| B. | 7 |
| C. | 77 |
| D. | 0 |
| Answer» B. 7 | |
|
Explanation: The order of precedence is: **, //, +. The expression 4+2**5//10 is evaluated as 4+32//10, which is equal to 4+3 = 7. Hence the result of the expression shown above is 7. |
|
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet