- 博客(3)
- 收藏
- 关注
原创 while语句为什么只执行一部分结果呢?
number=’’while number!=’*’:number=input('You can list a number. ')number=int(number)if number%10==0:print(‘Yes, it is a multiple of 10.’)else:print('No,it is not a multiple of 10. ')运行结果:else后...
2020-03-17 15:13:16
453
原创 while语句,运行结果有误
prompt=’\nPlease enter the city you would like to visit:’prompt+="\nEnter 'quit’to end the program."while True:city=input(prompt)if city==‘quit’:breakelse:print(‘I would love to go to ‘+city.ti...
2020-03-13 17:07:06
336
原创 求大神告知,Pycharm添加Python解释器提示SDK失效怎么解决?
求大神告知:Pycharm添加Python解释器提示:Cannot set up a python SDKat Python 3.8 (untitled5) (H:\Python\python-3.8.2-amd64.exe).The SDK seems invalid.并且Python一直出现Modify Setup怎么解决?...
2020-03-09 18:01:42
28705
25
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅