while True:
text = input("请输入需要排版的文字,输入 ':q' 退出程序:")
if text == ":q":
break
# 删除空格
text = text.replace("
【Python实训】 文字输入工具
最新推荐文章于 2024-11-02 09:35:58 发布
while True:
text = input("请输入需要排版的文字,输入 ':q' 退出程序:")
if text == ":q":
break
# 删除空格
text = text.replace("