subject

Complete the function to return the factorial of the parameter using recursion. def recursiveFactorial(number):
if number> 1:
return number" recursiveFactorial
else:
return 1
stringNum = input("Enter a positive integer: ")
num = int(stringNum)
print(recursiveFactorial(num))

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Cómo pongo un tomo de llamada sin pagar?
Answers: 1
You know the right answer?
Complete the function to return the factorial of the parameter using recursion. def recursiveFactor...
Questions
question
History, 25.04.2021 19:20
question
Mathematics, 25.04.2021 19:20
Questions on the website: 13722363