字符串格式化符号% 2020-11-18 本文已影响0人 我说早早早 当python认为字符串中有转移符时,用一个%会报错,报错信息为:“not enough arguments for format string”;这个时候用%%即可