Advertisement
pacho_the_python

Untitled

Oct 28th, 2021
83
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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement