YOU’RE LEARNING TO↗learner can open files safely using the with statement and context managers
↗learner can read file contents with read(), readline(), readlines(), and line iteration
↗learner can write and append text to files using write() and writelines()
↗learner can specify encoding and understand newline handling on all platforms