0
matrix=[[1,2,3],[2,3,4], [4,5,6]] for row in matrix: for item in row:print(item)
what's wrong with this
4 Answers
+ 5
Indentation is totally missing.
In this case easy to get it running - just move the lowest line at least one space to the right.
Anyway, to understand this important topic, read (not run) this:
https://code.sololearn.com/cT5BRIbkia21/?ref=app
+ 3
that worked
+ 3
Happy to hear it! :)
+ 1
thank you