上传文件至 /

This commit is contained in:
2026-04-16 16:00:01 +08:00
parent c55ef060fc
commit 5a99596ed2

13
06 林伟泰.py Normal file
View File

@@ -0,0 +1,13 @@
# 一维数组(向量)
vec = np.array([1, 2, 3, 4, 5])
print(vec) # [1 2 3 4 5]
# 二维数组(矩阵)
mat = np.array([
[1, 2, 3],
[4, 5, 6]
])
print(mat)
# [[1 2 3]
# [4 5 6]]