From 602473e65f10775659bc59e9d3aa53fd1dcf7f81 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 5 Nov 2023 09:41:22 +0000 Subject: [PATCH 1/3] added for reference --- Day-01/01-shell-vs-python.md | 0 Day-01/02-hello-world.py | 0 Day-01/README.md | 0 Day-02/01-data-types.md | 0 Day-02/02-strings.md | 0 Day-02/03-numeric.md | 0 Day-02/04-regex.md | 0 Day-02/README.md | 0 Day-02/examples/01-string-concat.py | 0 Day-02/examples/01-string-len.py | 0 Day-02/examples/01-string-lowercase.py | 0 Day-02/examples/01-string-replace.py | 0 Day-02/examples/01-string-split.py | 0 Day-02/examples/01-string-strip.py | 0 Day-02/examples/01-string-substring.py | 0 Day-02/examples/02-float.py | 0 Day-02/examples/02-int.py | 0 Day-02/examples/03-regex-findall.py | 0 Day-02/examples/03-regex-match.py | 0 Day-02/examples/03-regex-replace.py | 0 Day-02/examples/03-regex-search.py | 0 Day-02/examples/03-regex-split.py | 0 Day-02/strings.py | 0 Day-02/test.py | 12 ++++++++++++ Day-03/README.md | 0 Day-03/keywords.md | 0 Day-03/variables.md | 0 Day-04/README.md | 0 Day-05/README.md | 0 Day-06/01-Notes/Arithmetic Operators.md | 0 Day-06/01-Notes/Assignment Operators.md | 0 Day-06/01-Notes/Bitwise Operators.md | 0 Day-06/01-Notes/Identity Operators.md | 0 Day-06/01-Notes/Logical Operators.md | 0 Day-06/01-Notes/Membership Operators.md | 0 Day-06/01-Notes/Precedence Operators.md | 0 Day-06/01-Notes/Relational Operators.md | 0 Day-06/02-Assignment/01-Questions/assignment.md | 0 Day-06/02-Assignment/02-Answers/task-01-answer.py | 0 Day-06/02-Assignment/02-Answers/task-02-answer.py | 0 Day-06/02-Assignment/02-Answers/task-03-answer.py | 0 Day-06/02-Assignment/02-Answers/task-04-answer.py | 0 Day-06/02-Assignment/02-Answers/task-05-answer.py | 0 Day-06/README.md | 0 Day-07/README.md | 0 Day-08/01-Notes/01-list.md | 0 Day-08/01-Notes/02-tuple.md | 0 Day-08/01-Notes/03-list-vs-tuple.md | 0 Day-08/01-Notes/04-faq.md | 0 Day-08/02-Assigment/01-list-questions.md | 0 Day-08/02-Assigment/02-list-answers.md | 0 Day-08/README.md | 0 Day-09/README.md | 0 Day-10/README.md | 0 Day-11/README.md | 0 Day-12/README.md | 0 Day-13/README.md | 0 Day-14/README.md | 0 Day-15/README.md | 0 Day-16/README.md | 0 Day-17/README.md | 0 Day-18/README.md | 0 Day-19/README.md | 0 LICENSE | 0 README.md | 0 65 files changed, 12 insertions(+) mode change 100644 => 100755 Day-01/01-shell-vs-python.md mode change 100644 => 100755 Day-01/02-hello-world.py mode change 100644 => 100755 Day-01/README.md mode change 100644 => 100755 Day-02/01-data-types.md mode change 100644 => 100755 Day-02/02-strings.md mode change 100644 => 100755 Day-02/03-numeric.md mode change 100644 => 100755 Day-02/04-regex.md mode change 100644 => 100755 Day-02/README.md mode change 100644 => 100755 Day-02/examples/01-string-concat.py mode change 100644 => 100755 Day-02/examples/01-string-len.py mode change 100644 => 100755 Day-02/examples/01-string-lowercase.py mode change 100644 => 100755 Day-02/examples/01-string-replace.py mode change 100644 => 100755 Day-02/examples/01-string-split.py mode change 100644 => 100755 Day-02/examples/01-string-strip.py mode change 100644 => 100755 Day-02/examples/01-string-substring.py mode change 100644 => 100755 Day-02/examples/02-float.py mode change 100644 => 100755 Day-02/examples/02-int.py mode change 100644 => 100755 Day-02/examples/03-regex-findall.py mode change 100644 => 100755 Day-02/examples/03-regex-match.py mode change 100644 => 100755 Day-02/examples/03-regex-replace.py mode change 100644 => 100755 Day-02/examples/03-regex-search.py mode change 100644 => 100755 Day-02/examples/03-regex-split.py mode change 100644 => 100755 Day-02/strings.py create mode 100755 Day-02/test.py mode change 100644 => 100755 Day-03/README.md mode change 100644 => 100755 Day-03/keywords.md mode change 100644 => 100755 Day-03/variables.md mode change 100644 => 100755 Day-04/README.md mode change 100644 => 100755 Day-05/README.md mode change 100644 => 100755 Day-06/01-Notes/Arithmetic Operators.md mode change 100644 => 100755 Day-06/01-Notes/Assignment Operators.md mode change 100644 => 100755 Day-06/01-Notes/Bitwise Operators.md mode change 100644 => 100755 Day-06/01-Notes/Identity Operators.md mode change 100644 => 100755 Day-06/01-Notes/Logical Operators.md mode change 100644 => 100755 Day-06/01-Notes/Membership Operators.md mode change 100644 => 100755 Day-06/01-Notes/Precedence Operators.md mode change 100644 => 100755 Day-06/01-Notes/Relational Operators.md mode change 100644 => 100755 Day-06/02-Assignment/01-Questions/assignment.md mode change 100644 => 100755 Day-06/02-Assignment/02-Answers/task-01-answer.py mode change 100644 => 100755 Day-06/02-Assignment/02-Answers/task-02-answer.py mode change 100644 => 100755 Day-06/02-Assignment/02-Answers/task-03-answer.py mode change 100644 => 100755 Day-06/02-Assignment/02-Answers/task-04-answer.py mode change 100644 => 100755 Day-06/02-Assignment/02-Answers/task-05-answer.py mode change 100644 => 100755 Day-06/README.md mode change 100644 => 100755 Day-07/README.md mode change 100644 => 100755 Day-08/01-Notes/01-list.md mode change 100644 => 100755 Day-08/01-Notes/02-tuple.md mode change 100644 => 100755 Day-08/01-Notes/03-list-vs-tuple.md mode change 100644 => 100755 Day-08/01-Notes/04-faq.md mode change 100644 => 100755 Day-08/02-Assigment/01-list-questions.md mode change 100644 => 100755 Day-08/02-Assigment/02-list-answers.md mode change 100644 => 100755 Day-08/README.md mode change 100644 => 100755 Day-09/README.md mode change 100644 => 100755 Day-10/README.md mode change 100644 => 100755 Day-11/README.md mode change 100644 => 100755 Day-12/README.md mode change 100644 => 100755 Day-13/README.md mode change 100644 => 100755 Day-14/README.md mode change 100644 => 100755 Day-15/README.md mode change 100644 => 100755 Day-16/README.md mode change 100644 => 100755 Day-17/README.md mode change 100644 => 100755 Day-18/README.md mode change 100644 => 100755 Day-19/README.md mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md diff --git a/Day-01/01-shell-vs-python.md b/Day-01/01-shell-vs-python.md old mode 100644 new mode 100755 diff --git a/Day-01/02-hello-world.py b/Day-01/02-hello-world.py old mode 100644 new mode 100755 diff --git a/Day-01/README.md b/Day-01/README.md old mode 100644 new mode 100755 diff --git a/Day-02/01-data-types.md b/Day-02/01-data-types.md old mode 100644 new mode 100755 diff --git a/Day-02/02-strings.md b/Day-02/02-strings.md old mode 100644 new mode 100755 diff --git a/Day-02/03-numeric.md b/Day-02/03-numeric.md old mode 100644 new mode 100755 diff --git a/Day-02/04-regex.md b/Day-02/04-regex.md old mode 100644 new mode 100755 diff --git a/Day-02/README.md b/Day-02/README.md old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-concat.py b/Day-02/examples/01-string-concat.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-len.py b/Day-02/examples/01-string-len.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-lowercase.py b/Day-02/examples/01-string-lowercase.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-replace.py b/Day-02/examples/01-string-replace.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-split.py b/Day-02/examples/01-string-split.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-strip.py b/Day-02/examples/01-string-strip.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/01-string-substring.py b/Day-02/examples/01-string-substring.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/02-float.py b/Day-02/examples/02-float.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/02-int.py b/Day-02/examples/02-int.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/03-regex-findall.py b/Day-02/examples/03-regex-findall.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/03-regex-match.py b/Day-02/examples/03-regex-match.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/03-regex-replace.py b/Day-02/examples/03-regex-replace.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/03-regex-search.py b/Day-02/examples/03-regex-search.py old mode 100644 new mode 100755 diff --git a/Day-02/examples/03-regex-split.py b/Day-02/examples/03-regex-split.py old mode 100644 new mode 100755 diff --git a/Day-02/strings.py b/Day-02/strings.py old mode 100644 new mode 100755 diff --git a/Day-02/test.py b/Day-02/test.py new file mode 100755 index 00000000..8e50f7ce --- /dev/null +++ b/Day-02/test.py @@ -0,0 +1,12 @@ +name="reju_nath" +age=28 +print(name.split("_")) +print(name.split("_")[1].upper()) +print(name.split("_")[0].upper()+" "+name.split("_")[1].upper()) +print(len(name)) +print(name[0].upper()) +print(name[3:6]) +##Formatting +print('%s %d' % (name,age)) +txt1 = "My name is {fname}, I'm {old}".format(fname = name, old = age) +print(txt1) diff --git a/Day-03/README.md b/Day-03/README.md old mode 100644 new mode 100755 diff --git a/Day-03/keywords.md b/Day-03/keywords.md old mode 100644 new mode 100755 diff --git a/Day-03/variables.md b/Day-03/variables.md old mode 100644 new mode 100755 diff --git a/Day-04/README.md b/Day-04/README.md old mode 100644 new mode 100755 diff --git a/Day-05/README.md b/Day-05/README.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Arithmetic Operators.md b/Day-06/01-Notes/Arithmetic Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Assignment Operators.md b/Day-06/01-Notes/Assignment Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Bitwise Operators.md b/Day-06/01-Notes/Bitwise Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Identity Operators.md b/Day-06/01-Notes/Identity Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Logical Operators.md b/Day-06/01-Notes/Logical Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Membership Operators.md b/Day-06/01-Notes/Membership Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Precedence Operators.md b/Day-06/01-Notes/Precedence Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/01-Notes/Relational Operators.md b/Day-06/01-Notes/Relational Operators.md old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/01-Questions/assignment.md b/Day-06/02-Assignment/01-Questions/assignment.md old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/02-Answers/task-01-answer.py b/Day-06/02-Assignment/02-Answers/task-01-answer.py old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/02-Answers/task-02-answer.py b/Day-06/02-Assignment/02-Answers/task-02-answer.py old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/02-Answers/task-03-answer.py b/Day-06/02-Assignment/02-Answers/task-03-answer.py old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/02-Answers/task-04-answer.py b/Day-06/02-Assignment/02-Answers/task-04-answer.py old mode 100644 new mode 100755 diff --git a/Day-06/02-Assignment/02-Answers/task-05-answer.py b/Day-06/02-Assignment/02-Answers/task-05-answer.py old mode 100644 new mode 100755 diff --git a/Day-06/README.md b/Day-06/README.md old mode 100644 new mode 100755 diff --git a/Day-07/README.md b/Day-07/README.md old mode 100644 new mode 100755 diff --git a/Day-08/01-Notes/01-list.md b/Day-08/01-Notes/01-list.md old mode 100644 new mode 100755 diff --git a/Day-08/01-Notes/02-tuple.md b/Day-08/01-Notes/02-tuple.md old mode 100644 new mode 100755 diff --git a/Day-08/01-Notes/03-list-vs-tuple.md b/Day-08/01-Notes/03-list-vs-tuple.md old mode 100644 new mode 100755 diff --git a/Day-08/01-Notes/04-faq.md b/Day-08/01-Notes/04-faq.md old mode 100644 new mode 100755 diff --git a/Day-08/02-Assigment/01-list-questions.md b/Day-08/02-Assigment/01-list-questions.md old mode 100644 new mode 100755 diff --git a/Day-08/02-Assigment/02-list-answers.md b/Day-08/02-Assigment/02-list-answers.md old mode 100644 new mode 100755 diff --git a/Day-08/README.md b/Day-08/README.md old mode 100644 new mode 100755 diff --git a/Day-09/README.md b/Day-09/README.md old mode 100644 new mode 100755 diff --git a/Day-10/README.md b/Day-10/README.md old mode 100644 new mode 100755 diff --git a/Day-11/README.md b/Day-11/README.md old mode 100644 new mode 100755 diff --git a/Day-12/README.md b/Day-12/README.md old mode 100644 new mode 100755 diff --git a/Day-13/README.md b/Day-13/README.md old mode 100644 new mode 100755 diff --git a/Day-14/README.md b/Day-14/README.md old mode 100644 new mode 100755 diff --git a/Day-15/README.md b/Day-15/README.md old mode 100644 new mode 100755 diff --git a/Day-16/README.md b/Day-16/README.md old mode 100644 new mode 100755 diff --git a/Day-17/README.md b/Day-17/README.md old mode 100644 new mode 100755 diff --git a/Day-18/README.md b/Day-18/README.md old mode 100644 new mode 100755 diff --git a/Day-19/README.md b/Day-19/README.md old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 From beb4e8c9e9987852d55a657ecdb27d320d73e7a0 Mon Sep 17 00:00:00 2001 From: rejunath <127033083+rejunath@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:17:17 +0530 Subject: [PATCH 2/3] Update test.py --- Day-02/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Day-02/test.py b/Day-02/test.py index 8e50f7ce..3b7de4d7 100755 --- a/Day-02/test.py +++ b/Day-02/test.py @@ -10,3 +10,5 @@ print('%s %d' % (name,age)) txt1 = "My name is {fname}, I'm {old}".format(fname = name, old = age) print(txt1) +##reference for Reg expression : https://www.w3schools.com/python/python_regex.asp +##pattern r("") ---> r stands for regular expression From d33c5aab2da500a173000f07ed33ac8a454c4b97 Mon Sep 17 00:00:00 2001 From: rejunath <127033083+rejunath@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:21:00 +0530 Subject: [PATCH 3/3] Update test.py --- Day-02/test.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Day-02/test.py b/Day-02/test.py index 3b7de4d7..9c1d5b06 100755 --- a/Day-02/test.py +++ b/Day-02/test.py @@ -12,3 +12,13 @@ print(txt1) ##reference for Reg expression : https://www.w3schools.com/python/python_regex.asp ##pattern r("") ---> r stands for regular expression +server_name = "my_server" +port = 80 +is_https_enabled = True +max_connections = 1000 + +# Print the configuration +print(f"Server Name: {server_name}") +print(f"Port: {port}") +print(f"HTTPS Enabled: {is_https_enabled}") +print(f"Max Connections: {max_connections}")