如题,输入如图时,有如图错误,望解答。
大概意思就是说这行监测到了非法字符用的是python什么版本?检查下结束符吧
你这是字符串换行了。你需要用'''
s = ''' This is the first line. this is the second line.'''
明显看到换行后“”失效,对于多行的字符串用多行注释符注明 '''xxxxxx''''