Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> m=int(input("enter the number"))
enter the number5
>>> f=1;
>>> for i in range(1,m):
	f=f*i
print(f)	
