You are viewing a single comment's thread. Return to all comments →
def factorial(num): if num == 1: return 1 return num * factorial(num - 1) num = int(input()) print(factorial(num))
Seems like cookies are disabled on this browser, please enable them to open this website
Extra Long Factorials
You are viewing a single comment's thread. Return to all comments →