file = open('scores.txt','w') file.write('Hello') file.close() The code above would open a file for writing called ‘scores.txt’, write the word ‘Hello’ and ...