Удалить script.py

This commit is contained in:
Вера Виноградова 2025-04-23 19:34:44 +00:00
parent e4175df72e
commit 3fc8d56fa4

View File

@ -1,9 +0,0 @@
with open('data.txt', 'r', encoding='utf-8') as file:
lines = file.readlines()
upper_lines = [line.upper() for line in lines]
with open('output.txt', 'w', encoding='utf-8') as file:
file.writelines(upper_lines)
print("Файл output.txt успешно создан.")