求助大佬, 这个代码一直报错,麻烦看一下哪里出错了,谢谢
template='{l},{i},{s},{y},{n},{p}'
l='life'
i='is'
s='short'
y='you'
n='need'
p='python'
result=template.formate('l''i''s''y''n''p')
print(result)
template='{l},{i},{s},{y},{n},{p}'
l='life'
i='is'
s='short'
y='you'
n='need'
p='python'
result=template.formate('l''i''s''y''n''p')
print(result)
2021-03-10
举报