python format函数用法详解:1、位置:根据位置下标进行填充;2、key:obj=world;3、列表:[“world”,python”];4、字典:访问字典的 key,不用引号;5、类属性。
python format函数_1