>>> print(r'''"To be,or not to be":that is a question.
... whether it's nonghgdjd df.''')
"To be,or not to be":that is a question.
whether it's nonghgdjd df.
字符串前面加个前缀r,表示这是一个 raw 字符串,里面的字符就不需要转义了
r
字符串前面有 r ,字符串里面就不需要转义了