📜  在 python 代码示例中输入 for 循环

📅  最后修改于: 2022-03-11 14:46:40.553000             🧑  作者: Mango

代码示例1
n, m = list(map(int, input().split()))
arr = []
for _ in range(n):
    l = list(map(int, input().split()))[:m]
    arr.append(l)