Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah

IndhumathyChelliah/n1.py Secret

Last active Jul 18, 2020
Embed
What would you like to do?
import numpy as np
#input is given as list
a=np.array([1,2,3])
print (a)#Output:[1 2 3]
#input is given as tuple
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