title: Making a dictionary from file, first word is key in each line then other four numbers are to be a tuple value
body: <p>This dictionary is supposed to take the three letter country code of a country, i.e, GRE for great britain, and then take the four consecutive numbers after it as a tuple. it should be something like this:
  {GRE:(204,203,112,116)} and continue doing that for every single country in the list. The txt file goes down like so:</p>
  
  <pre><code>Country,Games,Gold,Silver,Bronze
  AFG,13,0,0,2
  ALG,15,5,2,8
  ARG,40,18,24,28
  ARM,10,1,2,9
  ANZ,2,3,4,5 etc.;  
  </code></pre>
  
  <p>This isn't actually code i just wanted to show it is formatted.
  I need my program to skip the first line because it's a header. Here's what my code looks like thus far:</p>
  
  <pre><code>def medals(goldMedals):
      infile = open(goldMedals, 'r')
      medalDict = {}
      for line in infile:
          if infile[line] != 0:
              key = line[0:3]
              value = line[3:].split(',')
              medalDict[key] = value
      print(medalDict)
      infile.close()
      return medalDict
  
  medals('GoldMedals.txt')
  </code></pre>