单选题

下列代码的执行结果是?(?)

import numpy as np
a = np.arange(9, dtype = np.float_).reshape(3,3)
b = np.array([100,10,10])
print (np.divide(a,b))
A

[[0.  0.1  0.2 ]

[0.03  0.4  0.5 ]

[0.06  0.7  0.8 ]]

B

[[0.  0.01  0.2 ]

[0.3  0.04  0.5 ]

[0.6  0.07  0.8 ]]

C

[[0.  0.1  0.02 ]

[0.3  0.4  0.05 ]

[0.6  0.7  0.08 ]]

D

[[0.  0.01  0.2 ]

[0.03  0.04  0.5 ]

[0.06  0.07  0.8 ]]

赣ICP备20007335号-2