# TutorSyntax | Working with text files
with open("notes.txt", "w", encoding="utf-8") as file:
    file.write("Revise loops\n")
with open("notes.txt", "r", encoding="utf-8") as file:
    print(file.read())
