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..9c1d5b06 --- /dev/null +++ b/Day-02/test.py @@ -0,0 +1,24 @@ +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) +##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}") 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