0
How to take input along a column in python
2D vector addition in form of matrix I want two inputs on first line and two on second then print it's sum , a class must be used
1 Respuesta
+ 2
For small arrays you can do it like this:
https://code.sololearn.com/ceNYYC1thqE6/?ref=app
For larger, you could do it iteratively, in a loop. Of course, then a sort of a row-by-row input validation would be a good idea ;)