Added data.txt, script.py

This commit is contained in:
Никита Лямин 2025-03-03 14:35:43 +03:00
parent 6bbc534d6a
commit f213c3f6f1
4 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.venv/
output.txt

3
data.txt Normal file
View File

@ -0,0 +1,3 @@
Печенье 2
Варенье 4

6
requirements.txt Normal file
View 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

5
script.py Normal file
View File

@ -0,0 +1,5 @@
data = open("data.txt", 'r')
text = data.read().upper()
print(text)
output = open("output.txt", 'w')
output.write(text)