Simplest way should be [[1,2]]*4. [[1,2]]*4. [[1, 2], [1, 2], [1, 2], [1, 2]]. If you wanna make it array, np.array([[1,2]]*4) would work.
確定! 回上一頁