title: Create one list with strings using read text file in Python
body: <p>I want to make a jumble game in python that uses words from a text file rather than from words written directly into the python file(in this case the code works perfectly). But when I want to import them, I get this list:</p>
  
  <pre><code>[['amazement', ' awe', ' bombshell', ' curiosity', ' incredulity', '\r\n'], ['godsend', ' marvel', ' portent', ' prodigy', ' revelation', '\r\n'], ['stupefaction', ' unforeseen', ' wonder', ' shock', ' rarity', '\r\n'], ['miracle', ' abruptness', ' astonishment\r\n']]
  </code></pre>
  
  <p>I want words to be sorted in one single list, for example:</p>
  
  <pre><code>["amazement", "awe", "bombshell"...]
  </code></pre>
  
  <p>This is my python code:</p>
  
  <pre><code>import random
  
  #Welcome the player
  print("""
      Welcome to Word Jumble.
          Unscramble the letters to make a word.
  """)
  
  
  filename = "words/amazement_words.txt"
  
  lst = []
  with open(filename) as afile:
      for i in afile:
          i=i.split(",")
          lst.append(i)
  print(lst)
  
  word = random.choice(lst)
  theWord = word
  
  jumble = ""
  while(len(word)&gt;0):
      position = random.randrange(len(word))
      jumble+=word[position]
      word=word[:position]+word[position+1:]
  print("The jumble word is: {}".format(jumble))
  
  #Getting player's guess
  guess = input("Enter your guess: ")
  
  #congratulate the player
  if(guess==theWord):
      print("Congratulations! You guessed it")
  else:
      print ("Sorry, wrong guess.")
  
  input("Thanks for playing. Press the enter key to exit.")
  </code></pre>
  
  <p>I have a text file with words: </p>
  
  <pre><code>    amazement, awe, bombshell, curiosity, incredulity,
      godsend, marvel, portent, prodigy, revelation,
      stupefaction, unforeseen, wonder, shock, rarity,
      miracle, abruptness, astonishment
  </code></pre>
  
  <p>Thank you for help and any suggestions!</p>