[Solved] Taking Multiple Numpy Array inputs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[Solved] Taking Multiple Numpy Array inputs

I need to take N lines of user input of M elements each, repeat this process two times and store this input as two separate numpy arrays. This is how I did it: https://code.sololearn.com/cCOKI1bIhIV3/#py Error: ValueError: too many values to unpack (expected 2) Please help me resolve this.

7th Feb 2020, 1:25 PM
Infinity
Infinity - avatar
5 Answers
7th Feb 2020, 1:50 PM
Oma Falk
Oma Falk - avatar
+ 3
can user input also M?
7th Feb 2020, 1:30 PM
Oma Falk
Oma Falk - avatar
+ 2
ok
7th Feb 2020, 1:28 PM
Oma Falk
Oma Falk - avatar
0
Oma Falk Please Help
7th Feb 2020, 1:27 PM
Infinity
Infinity - avatar
0
Oma Falk No user can't
7th Feb 2020, 1:31 PM
Infinity
Infinity - avatar