result = template.format(w = world, c = china, b = beijing, i = imooc)中的“.”是什么作用
result = template.format(w = world, c = china, b = beijing, i = imooc)中的“.”是什么作用
不理解怎么用的
result = template.format(w = world, c = china, b = beijing, i = imooc)中的“.”是什么作用
不理解怎么用的
2020-09-22
舉報
2020-09-26
你可以理解為調用函數,讓template這個對象調用format函數,大多數編程語言里"."都可以這么理解。
2020-10-09
對template進行format函數調用
2020-09-22
對template執行format操作