Compare commits

..

No commits in common. "0ce1ee1f00e50573d760dbe82c28d111b7227b71" and "main" have entirely different histories.

5 changed files with 19 additions and 7 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.venv\
output.txt

View File

@ -1 +1,3 @@
Тут должно быть индивидуальное задание, но я не понял о чем речь.
Список группы:
Анохин Игорь Вячеславович;
Боровской Stepan Nikolаевич;

3
input.txt Normal file
View File

@ -0,0 +1,3 @@
print("Hello, world!")
System.out.print("Hello, world!");
std::cout<<"Hello, world!";

View File

@ -1,6 +0,0 @@
numpy==2.2.3
pandas==2.2.3
python-dateutil==2.9.0.post0
pytz==2025.1
six==1.17.0
tzdata==2025.1

11
script.py Normal file
View File

@ -0,0 +1,11 @@
with open("output.txt", "r", encoding="utf-8") as file:
lines = file.readlines()
# Преобразование: строки в верхний регистр
processed_lines = [line.upper() for line in lines]
# Запись результата в output.txt
with open("output.txt", "w", encoding="utf-8") as file:
file.writelines(processed_lines)
print("Данные успешно обработаны и сохранены в output.txt!")