On 04/07/16 21:38, Colby Christensen wrote:

> elif keycode in (47, 392):
>     self.div()
> elif keycode in (27):
>     self.clear_all()

I meant to say...

> I then tried using
> 
> elif keycode == 27:
> 
> but this statement didn't work. 

I'm not sure why that didn't work.
What exactly happened? Did you get a different error message?
If so what?


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to