#try to avoid input function a = int(input("Enter any Number :")) b = 1 for i in range(1,a+1): b = b*i print(b)
Click the run button. Try to avoid input() function.