Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first = int(input())
- second = int(input())
- def factorial(n):
- result = 1
- for i in range(1, n + 1):
- result *= i
- return result
- total = factorial(first) / factorial(second)
- print(f'{total:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement