Create answer.py

running code
http://ideone.com/331ypq