MCQs > IT & Programming > Python > Output of the following Python code? def recur_factorial(n): if n == 1: return 1 else: return n'recur_factorial(n-1) num = 4 if num < O: print('1') elif num = O: print('0') else: p=41+(recur_factorial(num)) p=P>>2 printlp)

Python MCQs

What will be the correct output of the following Python code?

def recur_factorial(n):

if n == 1:

return 1

else:

return n'recur_factorial(n-1)

num = 4

if num < O:

print("1") elif num = O: print("0") else: p=41+(recur_factorial(num)) p=P>>2 printlp)

Answer

Correct Answer:

16 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it