title: SyntaxError: invalid syntax when using match case
body: <p>I've been trying to use a match case instead of a million IF statements, but anything I try returns the error:</p>
  <pre><code>    match http_code:
            ^
  SyntaxError: invalid syntax
  </code></pre>
  <p>I've also tried testing examples I've found, which also return this error, including this one:</p>
  <pre><code>http_code = &quot;418&quot;
  
  match http_code:
      case &quot;200&quot;:
          print(&quot;OK&quot;)
  
      case &quot;404&quot;:
          print(&quot;Not Found&quot;)
  
      case &quot;418&quot;:
          print(&quot;I'm a teapot&quot;)
  
      case _:
          print(&quot;Code not found&quot;)
  </code></pre>
  <p>I'm aware that match cases are quite new to python, but I'm using 3.10 so I'm not sure why they always return this error.</p>