Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import factorial as fact
- def C(k, n):
- return fact(n) // (fact(k) * fact(n - k))
- n = int(input())
- print(*[C(k, n - 1) for k in range(n)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement