import numpy as np x = [1,2,3] a = np.asarray(x) print (a) import numpy as np x = (1,2,3) a = np.asarray(x) print (a) import numpy as np x = [(1,2,3),(4,5)] a = np.asarray(x) print (a) import numpy as np x = [1,2,3] a = np.asarray(x, dtype = float) p…