擅长:python、mysql、java
<p>你得到了<code>SyntaxError</code>,因为<code>r'he said,'let's python.''</code>是不合法的<a href="https://docs.python.org/3/reference/lexical_analysis.html#literals" rel="nofollow noreferrer">python literal</a>-因为你在末尾使用了单<code>'</code>,所以我们处理的是<code>shortstring</code>,它必须由<code><any source character except "\" or newline or the quote></code>元素组成,你试图在里面使用引号,所以失败了</p>