Vidyalelo
Python · Q102

Functions in Python

Programming · Python · question 102

Q102

What will be the output of the following Python code? def maximum(x, y): if x > y: return x elif x == y: return 'The numbers are equal' else: return y print(maximum(2, 3))

A.
2
B.
3
Answer
C.
The numbers are equal
D.
None of the mentioned

Answer: Option B

Solution

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