McqMate
| Q. |
What will be the output of the following
|
| A. | (1,3) |
| B. | (0,3) |
| C. | (1,0) |
| D. | (3,1) |
| Answer» A. (1,3) | |
| Explanation: the expressions are evaluated as: 4%3 and 6//2 respectively. this results in the answer (1,3). this is because the associativity of both of the expressions shown above is left to right. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet