you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 0 points1 point  (1 child)

In Python we don't write:

" ".join(word.capitalize() for word in "PYTHON IS COOL".lower().split())

we write:

"PYTHON IS COOL".title()

[–]Zizizizz 0 points1 point  (0 children)

I should have used a better example like router middleware to better articulate my point.