title: How do I fix the warning in python: This code is unreachable
body: <p>I am learning pygame and I am working on a collision here is the code:</p>
  <pre><code>    def collision(bullx, bully, enemyx, enemyy):
          distance = math.sqrt(math.pow(enemyx - bullx, 2) + math.pow(enemyy - bully, 2))
          if distance &lt; 40:
              return True
          else:
              return False
          if collision(bullx, bully, enemyx, enemyy):
              quit()
  </code></pre>
  <p>Those last two lines give me the warning: This code is unreachable</p>
  <p>If anyone knows how to fix this please inform</p>