You didn’t explain your question correctly so I can’t help you
def recursiveFactorial(number):
if number > 0:
return number * (recursiveFactorial(number - 1))
else:
return 1
stringNum = input("Enter a positive integer: ")
num = int(stringNum)
print(recursiveFactorial(num))
I hope this helps!
Each of the 20 people has 19 other people to communicate to. If you add that all up you get 20*19 paths, but then each path is counted twice (back and forth), so we divide this by 2. 20*19/2 = 190.
The general forumula is n(n-1)/2
Where all "the following" i can help you but you said which of the folllowing and ther no picture or anything?
A group of reviewers with your highest ratings