判断题
偏易
#15833
"{}喜欢{}".format("小明", "足球") 会生成 "小明喜欢足球"。( )
"{}喜欢{}".format("小明", "足球") 会生成 "小明喜欢足球"。( )
答案与解析
正确答案:对
解析
format() 方法按顺序填充参数,结果正确。