diff options
Diffstat (limited to 'progs/a91.py')
-rw-r--r-- | progs/a91.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a91.py b/progs/a91.py new file mode 100644 index 0000000..126f04e --- /dev/null +++ b/progs/a91.py @@ -0,0 +1,7 @@ +def last_Two_Digits(N):
+ if (N >= 10):
+ return
+ fac = 1
+ for i in range(1,N + 1):
+ fac = (fac * i) % 100
+ return (fac)
\ No newline at end of file |