title: Elif Statements are Being Ignored
body: <p>I am coding brick breaker and my third and fourth elif conditions are being ignored.</p>
  
  <p>In order to differentiate between a hit to the side of a brick horizontally or laterally to correspondingly alter the direction of the ball, I specified a 5-pixel margin that is continuously checked. My code correctly determines when the ball lands in the top or bottom margin but the ball simply passes through the sides even though I wrote those conditions in the same way. I know that the statements are being ignored completely because all of the functions of the statement are ignored.</p>
  
  <p>the border markers within the bricks to specify the margins have a B at the end</p>
  
  <pre><code>def collision(self):
      if (ball.xcor() &gt; self.colisL) and (ball.xcor() &lt; self.colisR) and (ball.ycor() &gt; self.colisD) and (ball.ycor() &lt; self.colisDB):
          self.turtle.hideturtle()
          ball.dy *= -1
          self.colisU = 1000
          self.colisD = 1000
          self.colisL = 1000
          self.colisR = 1000
          global score
          score += 1
      elif (ball.xcor() &gt; self.colisL) and (ball.xcor() &lt; self.colisR) and (ball.ycor() &lt; self.colisU) and (ball.ycor() &gt; self.colisUB):
          self.turtle.hideturtle()
          ball.dy *= -1
          self.colisU = 1000
          self.colisD = 1000
          self.colisL = 1000
          self.colisR = 1000
          score += 1
      elif (ball.xcor() &gt; self.colisL) and (ball.xcor() &lt; self.colisLB) and (ball.ycor() &gt; self.colisD) and (ball.ycor() &lt; self.colisU):
          self.turtle.hideturtle()
          ball.dx *= -1
          self.colisU = 1000
          self.colisD = 1000
          self.colisL = 1000
          self.colisR = 1000
          score += 1
      elif (ball.xcor() &gt; self.colisR) and (ball.xcor() &lt; self.colisRB) and (ball.ycor() &gt; self.colisU) and (ball.ycor() &lt; self.colisU):
          self.turtle.hideturtle()
          ball.dx *= -1
          self.colisU = 1000
          self.colisD = 1000
          self.colisL = 1000
          self.colisR = 1000
          score += 1
  </code></pre>