\t not working

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Wed May 17 13:45:06 EDT 2006


Alex  Pavluck enlightened us with:
> Q: As an exercise, write a single string that:
>     Procuces
>                    this
>                            output.
>
>
> A? 
> print "produces",'\n',"\t","this","\n","\t","output."

Just nitpicking, since you already got your answer, but that's not a
single string ;-)

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list