Single string print statements on multiple lines.

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Mar 13 16:01:43 EDT 2007


En Tue, 13 Mar 2007 08:31:17 -0300, Bruno Desthuilliers  
<bruno.42.desthuilliers at wtf.websiteburo.oops.com> escribió:

> Obviously, the OP is not trying to cheat (explicitelt
> aknowledging it is homework), and has a good enough understanding of
> what the usual solution is (asking for the escape char in Python).
>
> Now of course the answer is in the FineManual(tm), which implies that
> either the OP failed to read it, or that the FineManual is not so fine -
> but that's another problem.

If the FineManual(tm) is the Tutorial, it only explain escape sequences  
minimally, presuming some prior knowledge on the reader. For users with  
previous experience in different languages (like VB or Delphi) using \n is  
rather strange.

-- 
Gabriel Genellina




More information about the Python-list mailing list