msg = '''
运行后提示:
Traceback (most recent call last):
File "D:\pythonProject\week1\day1\格式化输出.py", line 8, in <module>
msg = '''
TypeError: not all arguments converted during string formatting
Process finished with exit code 1
请问msg = '''的语法错误在哪里?
你在干什么?三个英文单引号怎么用啊?写注释呢?
又或者是一个双引号一个单引号?
你把代码改成 msg = " " 试试,如果没错就是你引号的问题
谢谢大家!
– jone730714 2年前