import numpy as np ar=np.zeros(4) print(ar) # [0. 0. 0. 0.] Let us use different value for shape ar=np.zeros((4,2)) print(ar) Output [[0. 0.] [0. 0.] [0. 0.] ...
確定! 回上一頁