permutations
Calculate ordered arrangements of k items from n items without repetition using this PyMCP tool. Ideal for combinatorial analysis and probability calculations.
Instructions
Calculate the number of ways to choose k items from n items without repetition and with order. If k is not provided, it defaults to n.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
k | No | The optional number of items to choose. | |
n | Yes | The number of items to choose from. |