age = 20 while True: try: guess_age = int(input('guess age:')) if guess_age > age: print('Is bigger') elif guess_age < age: print('Is smaller') elif guess_age == age: print('Great') break except: print('Wrong input')
发布时间:2019-04-10 20:53:14编辑:auto阅读(2324)
age = 20 while True: try: guess_age = int(input('guess age:')) if guess_age > age: print('Is bigger') elif guess_age < age: print('Is smaller') elif guess_age == age: print('Great') break except: print('Wrong input')
上一篇: python学习之旅(十五)
下一篇: pycharm最新code码,分享给大家
47840
46386
37279
34731
29312
25970
24909
19949
19541
18026
5790°
6411°
5926°
5960°
7063°
5910°
5942°
6437°
6404°
7776°