title: Python if-else within loop not working (skips if)
body: <pre><code>def searcher():
      mun = raw_input("Enter name of city&gt; ")
      pal = mun.replace(' ', '')
      state = raw_input("Enter State abbreviation&gt; ")
      city = pal + state
      city = city.upper()
      for r in range(sheet.nrows):
          for c in range(sheet.ncols):
              cell = sheet.cell(r, c)
              if cell.value == city:
                  loc = r
              else:
                  print "not found"
      cell = sheet.cell(loc, 15)
  </code></pre>
  
  <p>Why does the last if-else skips the 'if' and then print <code>not found</code> infinitely?</p>