单选题

下列程序的运行结果为:2,请填空?( )

import numpy as np
a = np.arange(0,12).reshape(3,4)
print(       )
A

a.shape()

B

a.shape

C

a.ndim()

D

a.ndim

赣ICP备20007335号-2