SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of "w" use "a" (append) mode with open function:
"w"
"a"
open
with open("games.txt", "a") as text_file: