Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 18, 2020 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/3a00df412a7a9e2599d3786593170413 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/3a00df412a7a9e2599d3786593170413 to your computer and use it in GitHub Desktop.
import numpy as np
a=np.random.randint(1,5,[2,2])
print (a)
'''
Output:
[[3 1]
[3 3]]
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment