pacho_the_python

Untitled

Feb 4th, 2022
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. num1 = int(input())
  2. result = num1
  3.  
  4. for num in range(num1 - 1, 0, -1):
  5.     result = result * num
  6. print(result)
  7.  
Advertisement
Add Comment
Please, Sign In to add comment