notebook.community
Edit and run
In [8]: n=int(input()) total=1 while n>0: total=total*n n-=1 print('n!=',total)
n=int(input()) total=1 while n>0: total=total*n n-=1 print('n!=',total)
5 n!= 120
In [ ]: