python: creating a dictionary, coming up as "None" in a file : <p>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.</p>

<pre><code>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()
</code></pre>
