Created
November 25, 2014 08:20
-
-
Save avamsi/14af97fb620f54568b3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fact = [1] | |
| for i in xrange(1, 101): | |
| fact.append(i * fact[i - 1]) | |
| for _ in xrange(int(raw_input())): | |
| print fact[int(raw_input())] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment