Skip to content

Instantly share code, notes, and snippets.

Last active September 16, 2021 06:02
What would you like to do?
create random array of 5000 integers in range in python
python3 -c 'import numpy as np;randnums = list(np.random.randint(1,101,5000));print(randnums)' | xsel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment