все файлы
This commit is contained in:
parent
f76005094b
commit
b5d0e21442
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
10
.idea/1laba.iml
generated
Normal file
10
.idea/1laba.iml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.10 (1laba)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
7
.idea/misc.xml
generated
Normal file
7
.idea/misc.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.10 (pythonProject1)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (1laba)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/1laba.iml" filepath="$PROJECT_DIR$/.idea/1laba.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
7
.idea/vcs.xml
generated
Normal file
7
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/SPLITOVIK" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
1
SPLITOVIK
Submodule
1
SPLITOVIK
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 8629846afae97cb9acad0175778eb9085a97348a
|
||||
10
code.py
Normal file
10
code.py
Normal file
@ -0,0 +1,10 @@
|
||||
with open('data.txt', 'r', encoding='utf-8') as f:
|
||||
lines = f.readlines()
|
||||
|
||||
processed_lines = [f"_{line.strip().upper()}_" for line in lines]
|
||||
|
||||
with open('output.txt', 'w', encoding='utf-8') as f:
|
||||
for line in processed_lines:
|
||||
f.write(line + '\n')
|
||||
|
||||
print("Данные успешно преобразованы в КУРСИВНЫЙ КАПС и записаны в output.txt")
|
||||
5
output.txt
Normal file
5
output.txt
Normal file
@ -0,0 +1,5 @@
|
||||
_ДЕРЕВЯШКА_
|
||||
_ДОМ_
|
||||
_РВБОТА_
|
||||
_СЕМЬЯ_
|
||||
_ПЯТЁРОЧКА_
|
||||
Loading…
Reference in New Issue
Block a user