Home / Programming MCQs / Python MCQs / Question
M
Q. What is the output of the below code?
def fun(n,res=1): if(n<=0): return res return fun(n-1,n*res) print(fun(5))
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following Python code?
The hasattr(obj,name) is used to
Evaluate the expression given below if A = 16 and B = 15.
What will be the output of the following Python code?
Are nested if-else are allowed?
Write the output of the following:
What is the output of the following program :
What is the output of the following? x = ['ab', 'cd'] print(len(list(map(list, x))))
Discusssion
Login to discuss.