This website works better with JavaScript.
Home
Explore
Help
Sign In
venkateswararao.allu
/
venkat
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Python file
master
venkat
1 day ago
parent
441108fdc2
commit
c5bb2f1697
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
dt_loops.py
+ 6
- 0
dt_loops.py
View File
@@ -0,0 +1,6 @@
import os
fa = int(input('Enter a Number :'))
f=1
for i in range(2,fa+1):
f=f*i
print(f'factorial({fa})={f}')
Write
Preview
Loading…
Cancel
Save