Compare commits

..

No commits in common. "master" and "fix-my-name" have entirely different histories.

5 changed files with 3 additions and 20 deletions

View File

@ -1,2 +0,0 @@
.vevn/
output.txt

View File

@ -1 +1,3 @@
создано окружение, файл .gitignore и README
Койков Антон Иванович
Андрей
Вика

View File

@ -1,4 +0,0 @@
Молоко
Хлеб
Колбаса
Чехословакия

View File

@ -1,4 +0,0 @@
МОЛОКО
ХЛЕБ
КОЛБАСА
ЧЕХОСЛОВАКИЯ

View File

@ -1,9 +0,0 @@
with open('data.txt', 'r', encoding='utf-8') as input_file:
lines = input_file.readlines()
upper_case_lines = [line.upper() for line in lines]
with open('output.txt', 'w', encoding='utf-8') as output_file:
output_file.writelines(upper_case_lines)
print("Данные успешно преобразованы и записаны в output.txt.")