為啥用數字指代各種模板和模板內數據不行啊
0='Life?is?{s},you?need?{p}'
1='short'
2='python'
result=0.format(s=1,p=2)
print(result)為什么012不行,我把012換成abc就可以了啊
0='Life?is?{s},you?need?{p}'
1='short'
2='python'
result=0.format(s=1,p=2)
print(result)為什么012不行,我把012換成abc就可以了啊
2021-05-31
舉報
2021-05-31
重新看下3-2 那節課