Answer to Question #311822 in Python for xxx

Question #311822

Question 7

X = np.array([

[10,20,30], 

 [40,50,60], 

 [70,80,90]])

Answer: 


print(X)

array([20, 50, 50])


1
Expert's answer
2022-03-15T12:12:18-0400
X = np.array([



[10,20,30], 



 [40,50,60], 



 [70,80,90]])
list1 = []
for i in X:
    list1.append(i[1])
np.array(list1)

array([20, 50, 80])

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS