[Tutor] (no subject)

orbitz orbitz at ezabel.com
Tue Nov 30 01:56:21 CET 2004


Things inside unmatched (), [], and {} are evaluated as one whole unit 
until the corresponding 0, ], or }.  If you have a really long equation 
though, it is probably a better idea to break it up into either 
variables or function calls.  That way it is less prone to error.


Jeff Peery wrote:

> Hello,
>  
> was wondering how python handles multi-line code. for example if I 
> have a really long equation and I don't want to have to scroll over to 
> look at it, can I just continue the equation on the next line? is this 
> good practice? similarly can I do this for things like dictionaries 
> and lists?
>  
> thanks.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
>  
>



More information about the Tutor mailing list