我们有如下代码:import numpy as np; x = np.array([[28, 41, 41],[98, 19, 18],[79, 33, 85],[43, 7, 60]]);rows = np.array([[0,0],[3,3]]); cols = np.array([[0,2],[0,2]]); y = x[rows,cols];print (y) 运行后y的内容是什么?仅输入数值,用逗号隔开!。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】小题1:Many athletes won gold medals in the Olympics, they are our national h__________. 小题2:Tom didn’t finish _____________( write) his test because he ran out of the time. 小题3:The girl is a mode...