title: How to check if line in text file equals to a specific string?
body: <p>I'm trying to extract lines from a text file, and make them keys for a new dictionary. So far, I've done this: </p>
  
  <pre><code>file = open(FileName, 'r')
  dictionary = {}
  for line in file:
      if line == ("Red" or "Yellow" or "Blue"):
         dictionary[line] = '' # And then I'll edit this empty string later. 
  return dictionary
  file.close()
  </code></pre>
  
  <p>I feel like the "if line == ..." part isn't correct, or maybe I haven't read the file correctly? It isn't working.</p>
  
  <p>Can someone point me in the right direction, without giving a straight answer?
  Thank you for reading through this! I appreciate it.</p>