diff --git a/.vscode/settings.json b/.vscode/settings.json index ca20f958..b4ef75f7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,5 +19,8 @@ "terminal.integrated.fontSize": 18, "workbench.colorTheme": "Visual Studio Dark", "workbench.fontAliasing": "antialiased", - "workbench.statusBar.visible": true -} + "workbench.statusBar.visible": true, + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file diff --git a/Ex_Files/02_01_begin/main.py b/Ex_Files/02_01_begin/main.py index de27c558..28d3b54d 100644 --- a/Ex_Files/02_01_begin/main.py +++ b/Ex_Files/02_01_begin/main.py @@ -1,4 +1,4 @@ -RUN_INDENTED = False +RUN_INDENTED = True message = "running unindented" @@ -11,3 +11,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..187bcb43 100644 --- a/Ex_Files/02_02_begin/main.py +++ b/Ex_Files/02_02_begin/main.py @@ -5,8 +5,10 @@ intrupution = f"Hello {name}" -greet_format = "Hello {}" +greet_format = "Hello {}" formatted = greet_format.format(name) print(intrupution, formatted) + +#print(intrupution) \ No newline at end of file diff --git a/Ex_Files/02_04_begin/main.py b/Ex_Files/02_04_begin/main.py index 6b7b54c6..b53572c5 100644 --- a/Ex_Files/02_04_begin/main.py +++ b/Ex_Files/02_04_begin/main.py @@ -5,6 +5,7 @@ while i < len(NAMES): print(NAMES[i], AGES[i]) i += 1 +print("---------") for name in NAMES: print(name) @@ -19,3 +20,5 @@ print(i) # enumerate +for i, name in enumerate(NAMES): + print(f"{i} {name}") \ No newline at end of file diff --git a/Ex_Files/04_04/templates/index.html b/Ex_Files/04_04/templates/index.html index d995e068..d2e103cd 100644 --- a/Ex_Files/04_04/templates/index.html +++ b/Ex_Files/04_04/templates/index.html @@ -14,7 +14,7 @@