title: How do I add one to a variable in Python 3.8?
body: <p>I have a code of:</p>
  
  <pre><code>x = 0
  
  def start():
      x = x + 1
      print (str(x))
  </code></pre>
  
  <p>But, I get an error saying that I mentioned the variable more than once, so I googled it and tried:</p>
  
  <pre><code>x = 0
  
  def start():
      x += x
      print (str(x))
  </code></pre>