PPaste!

Home - All the pastes - Authored by Thooms

Raw version

1
2
3
4
def fact(n):
    return 1 if n < 2 else n * fact(n-1)

print(fact(int(input().strip())))