+ 1

How can i make 2d arrays in Python?

Can i use lists to make 2d arrays in py..how?

3rd Feb 2019, 1:06 PM
Mensch
Mensch - avatar
1 Answer
+ 2
Yes, you can. It works about the same as in other languages: You fill inner lists for the rows in an outer list. Look for example here (line 8 to 11 (which is actually one line)): https://code.sololearn.com/c30wK7XUZeo3/?ref=app
3rd Feb 2019, 2:13 PM
HonFu
HonFu - avatar