标签:python sorry
age=float(raw_input("enter your age:")) grade=int(raw_input("enter your grade:")) if age >=8: if grade >=3: print "you can play this game." else: print "sorry ,you can‘t play the game."
python-联系-双条件-if-else
原文地址:http://huzhongliang.blog.51cto.com/1817180/1890509