单选题

下面代码的输出结果是?( )

import numpy as np

arr = np.array([[1, 2], [3, 4]])

print(arr.sum())

A

3

B

4

C

6

D

10

赣ICP备20007335号-2