a) num*fact(num-1)
b) (num-1)*(num-2)
c) num*(num-1)
d) fact(num)*fact(num-1)
Fill in the line of the following Python code for calculating the factorial of a number. def fact(num): if num == 0:
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Fill in the line of the following Python code for calculating the factorial of a number. def fact(num): if num == 0:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!