摘要: 下面代码: money = 3total_money = 0for i in range(40):#一个月坐车40次 if total_money < 100:#单程100内不打折 total_money += money elif total_money >= 100 and total_mone 阅读全文
posted @ 2020-06-08 23:33 吾言! 阅读(1971) 评论(0) 推荐(0) 编辑
摘要: 代码编辑区自动换行对所有文件有效: File-> Settings-> Editor-> General 找到Soft Wraps,勾选Soft-wrap files在输入框中添加;*.py,如下图 控制台console自动换行File-> Settings-> Editor-> General - 阅读全文
posted @ 2020-06-08 21:14 吾言! 阅读(3222) 评论(0) 推荐(0) 编辑