lsykkk 发表于 2020-10-11 22:40:22

为什么报错

magicians=['a','b']
for a in magicians:
        print(a.title())
       
SyntaxError: multiple statements found while compiling a single statement
>>>

昨非 发表于 2020-10-11 22:42:20

idle单次执行多行代码就容易出问题,写到文件里吧
页: [1]
查看完整版本: 为什么报错