注意几点:1、==是python语言中等号 = 2、:的添加
Python几个入门小程序-----表达式if ...else语句
原文:http://www.cnblogs.com/sunyung/p/7725047.html