title: What does !r mean in Python?
body: <p>I have found the following code in a project.</p>
  
  <p>What does the <code>!r</code> part mean?</p>
  
  <pre><code>def __repr__(self):
      return f"user={self.user!r}, variant={self.variant!r}"
  </code></pre>