Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
324
import math while(True): n=int(input()) if n==0: break o=math.factorial(n) print(str(n)+"!"+" --") st=str(o) for i in range(0,5,1): print(" (",end='') print(i,end='') print(")",end='') print(repr(st.count(str(i))).rjust(4),end='') print() for i in range(5,10,1): print(" (",end='') print(i,end='') print(")",end='') print(repr(st.count(str(i))).rjust(4),end='') print()
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
teste
learn
test1.py
line 4
EJ_2_python_20.068.214-9_20.116.927-5
Faiha Lesson 4
global 3
Prac
Linear search
check this converting week number (int) into week day name (string) [solved]
Please log in to post a comment.