1.format() 函数用法 用法: format() 函数用法格式为:print('{}'.format()) 每一个{},都对应 format 函数括号中的该位置变量值,format() 中的变量值用英文逗号隔开。