Добавлены файлы data.txt, script.py

This commit is contained in:
stud179106 committed 2025-03-15 00:31:43 +03:00
1 parent aa40169c49
commit 440fa57a13
2 files changed
+11

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
with open('C:\GITPRACTIC/data.txt', 'r', encoding='utf-8') as file:
content = file.read()
content=content.split()
content = [i.upper() for i in content]
with open('C:\GITPRACTIC/output.txt', 'w', encoding='utf-8') as file:
for line in content:
file.write(line + '\n')
+1
View File
@@ -0,0 +1 @@
Боковой Ветхий Возгласить Дебет Дезинформировать Жмых Кольт Нахлебник Продолжаться Цедилка Заползать Котироваться Натренировать Периодичный Преувеличить Притулиться Расстелить Седой Статный Транжир