31.
How are keyword arguments specified in the function heading?

32.
Fill in the line of the following Python code for calculating the factorial of a number.
def fact(num):
    if num == 0: 
        return 1
    else:
        return _____________________

36.
What will be the output of the following Python code?
a = [1, 2, 3, 4, 5]
b = lambda x: (b (x[1:]) + x[:1] if x else []) 
print(b (a))

37.
Which of the following statements is false about recursion?

39.
Which of these is not true about recursion?

Read More Section(Functions in Python)

Each Section contains maximum 100 MCQs question on Functions in Python. To get more questions visit other sections.