Yonghao‘s python basic exercise

http://yonghaoy.github.io/spring2014/2014/01/22/yonghaopythonbasic.html