[Tutor] a logic problem in an if statement

Marc Tompkins marc.tompkins at gmail.com
Sun Sep 26 22:12:36 CEST 2010


On Sun, Sep 26, 2010 at 1:01 PM, Bill Allen <wallenpb at gmail.com> wrote:

>
> Any thoughts how I am going wrong here?
>
> Looks like you've got two different names for the first mouse click...

        mouse_pos1 = mouse_pos
>

but

> if mouse_pos[1] < height/2 and mouse_pos2[1] > height/2:
>


-- 
www.fsrtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100926/31c2dd01/attachment.html>


More information about the Tutor mailing list