diff --git a/.vscode/settings.json b/.vscode/settings.json index 23698105..bc9f0b0d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,9 @@ "workbench.activityBar.visible": true, "workbench.colorTheme": "Visual Studio Dark", "workbench.fontAliasing": "antialiased", - "workbench.statusBar.visible": true -} + "workbench.statusBar.visible": true, + "[python]": { + "editor.defaultFormatter": "ms-python.autopep8" + }, + "python.formatting.provider": "none" +} \ No newline at end of file diff --git a/Ex_Files/01_01_begin/hello.py b/Ex_Files/01_01_begin/hello.py new file mode 100644 index 00000000..c4da7d18 --- /dev/null +++ b/Ex_Files/01_01_begin/hello.py @@ -0,0 +1 @@ +import this diff --git a/Ex_Files/02_01_begin/main.py b/Ex_Files/02_01_begin/main.py index de27c558..ad5c05c6 100644 --- a/Ex_Files/02_01_begin/main.py +++ b/Ex_Files/02_01_begin/main.py @@ -1,4 +1,6 @@ -RUN_INDENTED = False + +RUN_INDENTED = True + message = "running unindented" @@ -11,3 +13,5 @@ def my_function(): greet = "Hello" return greet + +print(my_function()) \ No newline at end of file diff --git a/Ex_Files/02_02_begin/main.py b/Ex_Files/02_02_begin/main.py index 85a3ff30..5772a0af 100644 --- a/Ex_Files/02_02_begin/main.py +++ b/Ex_Files/02_02_begin/main.py @@ -9,4 +9,7 @@ formatted = greet_format.format(name) -print(intrupution, formatted) +print(formatted) + +# print(formatted.lower()) +# print(formatted.replace("John", "chudir vai")) \ No newline at end of file