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 c4da7d18..9839e63b 100644 --- a/Ex_Files/01_01_end/hello.py +++ b/Ex_Files/01_01_end/hello.py @@ -1 +1 @@ -import this +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