Run Code
|
API
|
Code Wall
|
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
Rectangle Perimiter
My wall
Janvi
List Comprehenson odd_numbers
Quick sort
Assignment-3b
PyTempConvDIP
recursion for adding 2 numbers
Ваня и забор
max min diff list