title: List input into dictionary
body: <p>So I have a problem set for class where I am given a csv file of text abbreviations for words and I'm asked to prompt the user for multiple abbreviations and its supposed to return the full text if the abbreviation is found, if not then it will return the original abbreviation.</p>
  
  <p>I'm currently stuck on getting the user input list into the dictionary properly. </p>
  
  <pre><code>import csv
  
  def CreateDictionary(i):            
      abbrv = i.lower()
      abbrv = i.split(' ')
  
      dictionary = {}
      fo = open('filename.csv')
      data = csv.reader(fo)
      for row in data:
          dictionary[row[0]] = row[1]
      fo.close()
  
  def main():
      user = input("abbreviations")       
      print(CreateDictionary(user))
  
  main()
  </code></pre>