alright this is my most rescent code : 
    
    highest = {}
    def reader():
        myfile = open("scores.txt","r")
        pre = myfile.readlines()
       
        print(pre)
   
   
        for line in pre :
           print(line)
           x = line.split(",")
   
           a = x[0]
   
           b = x[1]
   
           c = len(b)-1
           b = b[0:c]
   
           highest[a] = b

and this is the Traceback error message in full
            Traceback (most recent call last):
            File "C:/Python34/my boto snaky/snaky.py", line 568, in gameLoop
            reader()
            File "C:/Python34/my boto snaky/snaky.py", line 531, in reader
            b = x[1]
            IndexError: list index out of range
