title: For loop not work in excel worksheet_python
body: <p>Now I'm use for loop for detect empty cell in excel file.I need stop loop when it find blank cell.But my loop not stop working.<strong>I need to break loop when it find blank cell.</strong></p>
  
  <p>This's my code:</p>
  
  <pre><code>for i in excel:
  if i == None:
      print('Finish work')
      break
  elif i == '1':
      py.hotkey('Enter')
  else:
      py.hotkey('Enter','Tab')
      py.hotkey('tab');py.hotkey('tab');py.hotkey('tab');py.hotkey('tab');py.hotkey('tab');py.hotkey('tab')
  </code></pre>
  
  <p>This's my excel File Image:
  <a href="https://i.stack.imgur.com/NOTFw.png" rel="nofollow noreferrer">This's my excel File picture i don't have reputation score i can't post picture.</a></p>