Vidyalelo
Python · Q47

Functions in Python

Programming · Python · question 47

Q47

What will be the output of the following Python code? def printMax(a, b): if a > b: print(a, 'is maximum') elif a == b: print(a, 'is equal to', b) else: print(b, 'is maximum') printMax(3, 4)

A.
3
B.
4
C.
4 is maximum
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board