title: Insert value in a string with '''
body: <p>I am trying to write a LaTex from a Python script:</p>
  <pre><code>n=4
  content = r'''\documentclass{article}
  
  \begin{document}
  the value of &quot;n&quot; is n
  \end{document}
  '''
  </code></pre>
  <p>How could I read the value of <code>n</code> inside of the command <code>r''' '''</code>?</p>