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 _____________________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 _____________________ Correct Answer num*fact(num-1)
মোঃ আরিফুল ইসলাম
Feb 20, 2025