title: Why does my else statement run when my if statement is true?
body: <p>This is my code. I am supposed to ask the user what their favorite book is, if their book matches one of mine I tell them, if not I say it isn't one of my favorites. The problem I'm having is when I put a true statement in , my else statement prints. So for example if I input "Jane Eyre" it would print the if statement "We both like Jane Eyre!" And below the else statement "That is not one of my top 5 favorites, but great choice!" </p>
  
  <p>This might be a easy fix and I am just over thinking but I would appreciate some help please!</p>
  
  <p>(The indenting might be off because of copy and paste)</p>
  
  <pre><code>def main():
  
      bookList = ["Jane Eyre", "To Kill a Mockingbird", "My Antonia","Pride and Prejudice", "The Bible"]
  
      book = input("What is your favorite book?")
  
      for x in range(0,len(bookList)):
          if (book == bookList[x]):
              print("We both like " + book + "!")
  
      else:
          print("That is not one of my top 5 favorites, but great choice!")
  
      print("          ")
      print("Here are my top 5 favorite books!")
      print("         ")
  
      for  n in range(0, len(bookList)):
          print(str(n + 1) + " " + bookList[n])
  
  main()
  </code></pre>