Compare commits
1
Commits
f76005094b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5d0e21442 |
Generated
+3
@@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
Generated
+10
@@ -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
@@ -0,0 +1,6 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
Generated
+7
@@ -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>
|
||||
Generated
+8
@@ -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>
|
||||
Generated
+7
@@ -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>
|
||||
Submodule
+1
Submodule SPLITOVIK added at 8629846afa
@@ -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")
|
||||
@@ -0,0 +1,5 @@
|
||||
_ДЕРЕВЯШКА_
|
||||
_ДОМ_
|
||||
_РВБОТА_
|
||||
_СЕМЬЯ_
|
||||
_ПЯТЁРОЧКА_
|
||||
Reference in New Issue
Block a user