diff --git a/Day-03/test.py b/Day-03/test.py new file mode 100644 index 00000000..94920b6c --- /dev/null +++ b/Day-03/test.py @@ -0,0 +1,14 @@ + +value1 = 5; +value2 = 3; + +def addition(): + print (value1 + value2); + +def sub(): + value1 = 20 + value2 = 15 + print (value1 - value2); + +addition() +sub() \ No newline at end of file diff --git a/Day-03/test2.py b/Day-03/test2.py new file mode 100644 index 00000000..58459edc --- /dev/null +++ b/Day-03/test2.py @@ -0,0 +1,4 @@ +import test +val = test.addition(100, 200); + +print("Output:", val) diff --git a/README.md b/README.md index 0dc09cb5..c193fd02 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ - Example: Automating a log file analysis with a loop to find errors. ## Day 10: Working with Lists (Part 2) -- List comprehensions. -- Nested lists and advanced list operations. +- Advanced list operations. - Practice exercises and examples: - Example: Print list of files in the list of folders provided