Text Files · 10 / 17 Exercise Medium

Convert a text file to uppercase

Objective

Write a program in Python to read a text file and make a copy in another file by changing the lowercase letters to uppercase.

Files: read the file input.txt (it already exists) and save a copy in output.txt with all the lowercase letters converted to uppercase. The program must not print anything.

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise