Hi 
There is some bug, it prints wrong result. 
My code work fine in PyCharm.
Please see attached screenshot.
By the way, It's cool game 
URL from: http://www.checkio.org/mission/speechmodule/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Created at: April 14, 2014, 8:34 p.m.; Updated at: April 14, 2014, 9:04 p.m.