我的代碼為什么打印錯(cuò)誤
template='Life is {a}','you need '
short='short'
python='python'
?result=template.format(a=short,b=python)
template='Life is {a}','you need '
short='short'
python='python'
?result=template.format(a=short,b=python)
2020-12-12
舉報(bào)
2021-03-23
12月17那個(gè)人說的對(duì),親測,好像是因?yàn)楦袷絾栴},轉(zhuǎn)義我不清楚
2020-12-17
template='Life is {a}','you need '改為template='Life is {a},you need '
2020-12-14
'需要轉(zhuǎn)義符