On 27 May 2010 22:57, Jean-Michel Pichavant <jeanmic...@sequans.com> wrote:

> One possible solution
>
>   if (
>           width == 0 and
>           height == 0 and
>           color == 'red' and
>           emphasis == 'strong' or
>           highlight > 100
>      ):
>       raise ValueError("sorry, you lose")
>
> But... but you have a sad face in one line! :(

Good trick.

-Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to