title: removesuffix returns error 'str' object has no attribute 'removesuffix'
body: <p>I'm trying to remove the .png part of a filename using remove suffix</p>
  <p><code>'x.png'.removesuffix('.png')</code></p>
  <p>But it keeps returning:</p>
  <p><code>AttributeError: 'str' object has no attribute 'removesuffix'</code></p>
  <p>I've tried some other string functions but I keep getting 'str' object has no attribute ' '. What should I do to fix this?</p>