We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.
alteryx Community

# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

## Challenge #270: Pony Permutations

8 - Asteroid

Is it fair to use the python module for this? I will say YES, because 1. why not use those (limited!) python skills where you can and 2. I already had a template for permutations and combinations in Alteryx, so this only needed minimal adjustments..

Spoiler

8 - Asteroid

not being a python user myself (yet!), this is very helpful to see in action!

13 - Pulsar

Here's my solution:

Spoiler
If there were 5 horses, then there'd be 120 possible outcomes (n!)

8 - Asteroid

Solution attached. It is just a factorial for n number of horses, so 5 horses means 120 combinations (5 x 4 x 3 x 2 x 1) 😊

8 - Asteroid
Spoiler
Solution Attached

8 - Asteroid
Spoiler

7 - Meteor

Here's my solution and extra-credit solution.

Spoiler
Extra credit: The number of horse races is the factorial of the number of horses involved.
11 - Bolide

Not very pretty but solved nevertheless 🙂

Alteryx

Brings back memories. Only went to three Belmont Stakes races when I lived in New York, but did see one Triple Crown win.

Spoiler

17 - Castor

Tried with an iterative macro.

Spoiler