if, continuation and indentation

Giacomo Boffi giacomo.boffi at polimi.it
Fri Jun 4 05:22:44 EDT 2010


HH <henrikho at gmail.com> writes:

>   if (width == 0 and
>       height == 0 and
>       color == 'red' and
>       emphasis == 'strong' or
>       highlight > 100):
>       raise ValueError("sorry, you lose")

 
    if (width == 0 and
        height == 0 and
        color == 'red' and
        emphasis == 'strong' or
        highlight > 100):

        raise ValueError("sorry, you lose")

-- 
compro mobili vecchi - vendo mobili antichi



More information about the Python-list mailing list