6 lines
173 B
Python
6 lines
173 B
Python
with open("data.txt", "r", encoding="utf-8") as infile:
|
|
data = infile.read().upper()
|
|
|
|
with open("output.txt", "w", encoding="utf-8") as outfile:
|
|
outfile.write(data)
|