Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

Write a pseudo code to complete the factorial of 5 recursively and print the value on the screen. I’ll mark brianliest

Sagot :

Answer:

number = int(input('Enter number: '))  

factorial = 1

for i in range(1, number + 1):

   factorial = factorial * i

print(factorial)

You will need to input 5 when you run the code. Or you can add change the "number" to "number = 5"