练习篇(Part 5) 51. Create a structured array representing a position (x,y) and a color (r,g,b) (★★☆) arr = np.zeros(10,[('position',[('x',float,1),('y',float,1)]), ('color',[('r',float,1),('g',float,1),('b',float,1)])]) print(arr) 运行结果: [((0., 0.), (0.,…