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
舉報(bào)
2020-09-26
你可以理解為調(diào)用函數(shù),讓template這個(gè)對象調(diào)用format函數(shù),大多數(shù)編程語言里"."都可以這么理解。
2020-10-09
對template進(jìn)行format函數(shù)調(diào)用
2020-09-22
對template執(zhí)行format操作