Compare commits
No commits in common. "main" and "0ce1ee1f00e50573d760dbe82c28d111b7227b71" have entirely different histories.
main
...
0ce1ee1f00
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
.venv\
|
|
||||||
output.txt
|
|
@ -1,3 +1 @@
|
|||||||
Список группы:
|
Тут должно быть индивидуальное задание, но я не понял о чем речь.
|
||||||
Анохин Игорь Вячеславович;
|
|
||||||
Боровской Stepan Nikolаевич;
|
|
@ -1,3 +0,0 @@
|
|||||||
print("Hello, world!")
|
|
||||||
System.out.print("Hello, world!");
|
|
||||||
std::cout<<"Hello, world!";
|
|
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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
11
script.py
@ -1,11 +0,0 @@
|
|||||||
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!")
|
|
Loading…
Reference in New Issue
Block a user