Here are five ways to generate a random array in Python:
random
modulemain.py65 chars4 lines
numpy
main.py45 chars4 lines
random.sample
main.py54 chars4 lines
numpy
and reshape
main.py61 chars4 lines
numpy
and randint
main.py61 chars4 lines
gistlibby LogSnag