From 472b7018facd19e712a92da9d5ae8427d1eb8a6b Mon Sep 17 00:00:00 2001 From: kaushik vaghani Date: Sun, 18 May 2025 03:27:49 +0000 Subject: [PATCH 1/2] hello world --- Ex_Files/01_01_end/hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ex_Files/01_01_end/hello.py b/Ex_Files/01_01_end/hello.py index c4da7d18..e75154b7 100644 --- a/Ex_Files/01_01_end/hello.py +++ b/Ex_Files/01_01_end/hello.py @@ -1 +1 @@ -import this +print("hello world") \ No newline at end of file From f261c7f1b59b69626804210c12aba767b6a3d537 Mon Sep 17 00:00:00 2001 From: kaushik vaghani Date: Mon, 19 May 2025 03:49:44 +0000 Subject: [PATCH 2/2] second commit --- Ex_Files/01_01_begin/hello.py | 1 + Ex_Files/01_01_end/hello.py | 2 +- Ex_Files/02_01_begin/main.py | 3 ++- Ex_Files/02_02_begin/main.py | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 Ex_Files/01_01_begin/hello.py diff --git a/Ex_Files/01_01_begin/hello.py b/Ex_Files/01_01_begin/hello.py new file mode 100644 index 00000000..9839e63b --- /dev/null +++ b/Ex_Files/01_01_begin/hello.py @@ -0,0 +1 @@ +import this \ No newline at end of file diff --git a/Ex_Files/01_01_end/hello.py b/Ex_Files/01_01_end/hello.py index e75154b7..9839e63b 100644 --- a/Ex_Files/01_01_end/hello.py +++ b/Ex_Files/01_01_end/hello.py @@ -1 +1 @@ -print("hello world") \ No newline at end of file +import this \ 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..c95e76e2 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,4 @@ 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..e119fb71 100644 --- a/Ex_Files/02_02_begin/main.py +++ b/Ex_Files/02_02_begin/main.py @@ -10,3 +10,8 @@ formatted = greet_format.format(name) print(intrupution, formatted) + +print(formatted.upper()) +print(formatted.lower()) + +print(formatted.replace("John","kaushik")) \ No newline at end of file