title: Issue with conditional statement on external python file
body: <p>I created this script that could be used as a login, and then created an external text file that has the data <code>1234</code> in it, this is attempting to compare the data from the file, but outputs that the two values are different, even though they are the same.  Thanks In advance to any help you can give me, the code I used is below:</p>
  
  <pre><code>getUsrName = input("Enter username: ")
  file = open("documents/pytho/login/cdat.txt", "r")
  lines = file.readlines()
  recievedUsrName = lines[1]
  file.close()
  print(getUsrName)
  print(recievedUsrName)
  if recievedUsrName == getUsrName:
      print("hello")
  elif getUsrName != recievedUsrName:
      print("bye")
  else:
  </code></pre>