摘要: 一、sys.exit()提前结束程序。 #提前终止程序import syswhile True: print('Type exit to exit.') response = input() if response == 'exit': sys.exit() else: print('you typ 阅读全文
posted @ 2021-05-22 20:08 小熊尤里 阅读(244) 评论(0) 推荐(0)