allow line break at operators

Tim Chase python.list at
Fri Aug 12 19:53:43 EDT 2011

On 08/12/2011 05:50 PM, Chris Angelico wrote:
> You can write Perl code in the shape of a camel. Can you do that in Python?
> Okay. Open challenge to anyone. Write a Python script that outputs
> "Just another Python hacker" or some such message, and is shaped in
> some way appropriately. And no fair doing all the shaping in comments

Okay, my entry:

   print("Just another Python hacker")

That lovely one-line shape resembles a straight & narrow snake ;-)


More information about the Python-list mailing list