DEV Community

Discussion on: Essential Python 3 code for lists

Collapse
detunized profile image
Dmitry Yakimenko • Edited on
mylist.append( "abc" )
mylist.insert(0, "def")

Why do you have inconsistent formatting? Is there some rule that I cannot figure out or simply an oversight?

Collapse
mortoray profile image
edA‑qa mort‑ora‑y Author

Hopefully I have them all fixed now. I was copy-and-pasting back-and-forth to the interactive editor, thus messed up the style sometimes.