A person to buy s shoes. Well, turns out there are only m shoes left in the shop. Determine the number of ways by which you can choose s shoes out of the available shoes in the shop. Print the answer in one line.
print(math.factorial(m) // math.factorial(s) // math.factorial(m-s) if s <= m else 0)
Comments
Leave a comment