1-8 习题8
2018-07-25 本文已影响0人
奥斯特洛夫_兔斯基
环境:windows7,powershell
Py版本:3.7
问题描述:

直接按回车报语法错误
解决办法:在第一行\之前需要‘;’
即
formatter = '{} {} {} {}';\
print(formatter.format(1,2,3,4))
环境:windows7,powershell
Py版本:3.7
问题描述:
直接按回车报语法错误
解决办法:在第一行\之前需要‘;’
即
formatter = '{} {} {} {}';\
print(formatter.format(1,2,3,4))