Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 18, 2020 02:48
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/91c3054ac173db2c73f04e708faaab19 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/91c3054ac173db2c73f04e708faaab19 to your computer and use it in GitHub Desktop.
import numpy as np
#a=np.array(1,2,3)
#print (a)#Output:ValueError: only 2 non-keyword arguments accepted
a=np.array((1,2,3))
print (a)#Output:[1 2 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment