python-联系-双条件-if-else

2017-01-10 08:20:59来源:作者:人点击

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."

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台