Backslash escaping is not working in Python
<p>I want Python interpreter to show me <code>\'</code> as a calculated value. I tried typing <code>"\\'"</code> and it returned me the same thing. If I try <code>"\'"</code> then the backslash is not shown anymore after I hit return. How do I get it to show the backslash like this after I hit return- <code>\'</code> ?</p>

<h3>Additional question</h3>

<p>This is exact question I am not understanding: 
Expression --> </p>

<blockquote>
  <p>'C' + <code></code> + 'D'</p>
</blockquote>

<p>Calculated Value --></p>

<blockquote>
  <p>'C\'D'</p>
</blockquote>

<p>Find the missing literal </p>

<p><code>print("\'")</code></p>

<p>repr of a string will never put out a single backslash. repr smartly picks quotes to avoid backslashes. You can get a \' to come out if you do something like '\'"'</p>

python