新手刚学python,用的是python3.4,想通过input输入二维数组后程序用数组中的元素进行运算,运行时有错误代码ValueError: invalid literal for int() with base 10,
该怎么解决?如果不能直接输入的话,是否可以通过输入每个元素及行列数构成二维数组?
http://blog.chinaunix.net/uid-10527160-id-2949488.html
用list,[[1,2],[2,3],……]
https://www.hackerrank.com/challenges/np-transpose-and-flatten/forum