?
Fill in the line of the following Python code for calculating the factorial of a number.
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 _____________________
def fact(num):
if num == 0:
return 1
else:
return _____________________
Join the Discussion
Login to post a comment or share your explanation.
Login