when reading the file it is coming up as "None", how can i fix this so that it is a dictionary(made from two varibles) in a file.
with open('RPS.txt','r') as f:
    highscores = [line.strip() for line in f]
    f = open('RPS.txt','a')
    high = {player_score: name}
    highscores = highscores.append(high)
    print(highscores, file=f)
    f.close()
 
    