DEV Community

Discussion on: In Your Opinion, What Makes Code Pythonic?

Collapse
 
shadowtime2000 profile image
shadowtime2000

When instead of taking this:

[
{"k": "v"},
{"k": "k"}
]

you take this:

the_function(["k", "k"], ["v", "k"])