IMAGINATION IN PROGRESS

Skip to content

Validate Example of Numpy

Test out this NumPy example: https://stackoverflow.com/a/8505754/10406011

We want to see if it can create a list of the numbers 1 through 10 in some random order without any number repeating. Something like:

[ 1, 6, 5, 4, 3, 2, 7, 9, 8, 10]

If it's zero-based (that is, 0 is included, and 10 is not) that's ok.