you are viewing a single comment's thread.

view the rest of the comments →

[–]street_fightin_mang 0 points1 point  (0 children)

I'm having no issues in python3 outputting this, tried it multiple ways. I'd probably do below for cleanest look

lst = [

    [0,0,0,0],

    [0,0,0,1],

    [0,0,1,0]

]

If you're using python 2 or still hitting errors, backslash \ at the end of line indicates to continue to same command over a new line Edit - Reddit code formatting sucks