求大佬解答
template1 = 'Life is {1},'
template2 = 'you need {a}'
k423 = 'python'
print(template1.format('short'),template2.format(a=k423))
这是怎么回事?
template1 = 'Life is {1},'
template2 = 'you need {a}'
k423 = 'python'
print(template1.format('short'),template2.format(a=k423))
这是怎么回事?
2023-03-15
举报