Vidyalelo
Python · Q53

Functions in Python

Programming · Python · question 53

Q53

What will be the output of the following Python code? def check(n): if n < 2: return n % 2 == 0 return check(n - 2) print(check(11))

A.
False
Answer
B.
True
C.
1
D.
An exception is thrown

Answer: Option A

Solution

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