title: while loop including or " while DIF != 'Y' or 'N': "
body: <pre><code>DIF=0
  
  while DIF != 'Y' or 'N':
      DIF=raw_input('Do you want the cheese? Y / N ')
  </code></pre>
  
  <p>how can I makes this work? I need the answer to be either Y or N</p>
  
  <p>I want to ask a question and the answer must be Y or N otherwise you can't continue.</p>
  
  <p>if there is a better way of doing this please tell me.</p>