2023年7月6日
摘要: import time for i in range(101): print('\r{:3}%'.format(i),end='') time.sleep(0.05) '\r{:3}%'.format(i) 这部分代码是一个字符串格式化操作,其中使用了“{:3}"和”%i"两个占位符。 --“{:3 阅读全文
posted @ 2023-07-06 17:53 Delphi搬运工 阅读(208) 评论(0) 推荐(0)