DEV Community

loading...

Discussion on: Are one liners always pythonic?

Collapse
evanroggenkamp profile image
Evan Roggenkamp

My one liners are almost never one liners.

They always break into something like

var = [
# expression
]

This increases readability quite a bit IMO.