python 新格式化输入---format 格式化函数 转义 此外我们可以使用大括号 {} 来转义大括号,如下实例: 还可以对输出的数字做格式化,具体见下面url 参考: https://www.runoob.com/python/att-string-format.html 旧方法: https://www.cnblogs.com/kaibindirver/p/8534901.html