McqMate
| Q. |
printMax(3, 4) |
| A. | 3 |
| B. | 4 |
| C. | 4 is maximum |
| D. | none of the mentioned |
| Answer» C. 4 is maximum | |
| Explanation: here, we define a function called printmax that uses two parameters called a and b. we find out the greater number using a simple if..else statement and then print the bigger number. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet