📜  numpy 数组输入 - Python 代码示例

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

代码示例1
n, m = map(int, input().split()) # taking number of rows and column
array = numpy.array([input().strip().split() for _ in range(n)], int)