You are viewing a single comment's thread. Return to all comments →
What is factorial?
print([1,1,2,6,24,120,720,5040,40320,362880,3628800][int(input())])
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Security Encryption Scheme
You are viewing a single comment's thread. Return to all comments →
What is factorial?