这个是哪错了呢
a="Life{0} short{1} need{2}" b=a.format(" is",",you"," python") print(b) c='life{i},short{y},need{p}' is='is' you='you' python='python' d=a.format(i=is,y=you,p=python) print(d)
a="Life{0} short{1} need{2}" b=a.format(" is",",you"," python") print(b) c='life{i},short{y},need{p}' is='is' you='you' python='python' d=a.format(i=is,y=you,p=python) print(d)
2021-05-19
举报