Skip to content

Commit 9a82ee7

Browse files
updated readme
1 parent 70e83f1 commit 9a82ee7

File tree

1 file changed

+106
-246
lines changed

1 file changed

+106
-246
lines changed

README.md

Lines changed: 106 additions & 246 deletions
Original file line numberDiff line numberDiff line change
@@ -1,275 +1,135 @@
1-
# Python Learning Journey
1+
# Python & JavaScript Learning Journey
22

33
## Overview
44

5-
This repository serves as a comprehensive guide to my learning journey in Python programming. It covers various topics from the basics of Python to advanced concepts, including object-oriented programming (OOP), file handling, exception handling, and more. Each section is carefully organized to build upon the previous one, ensuring a structured and progressive learning path. The repository will include code examples, exercises, and projects that demonstrate the practical application of Python in real-world scenarios.
5+
This repository is a hands-on collection of Python and JavaScript practice files covering core programming concepts, object-oriented programming, array/list algorithms, DOM manipulation, and LeetCode problem solutions. It tracks learning progress from fundamentals through to advanced OOP patterns and coding challenges.
66

7-
The objective of this journey is to gain a solid understanding of Python, improve problem-solving skills, and develop the ability to create functional applications using Python.
7+
---
8+
9+
## Repository Structure
810

9-
### Course Details:
10-
- **Course Title:** Master Python: From First Steps to Pro-Level Programming
11-
```bash
12-
https://www.udemy.com/course/python-beginners-to-advance-bootcamp/
13-
```
14-
- **Platform:** Udemy
11+
```
12+
python-learning/
13+
├── Python Scripts (root) # Core Python exercises & algorithms
14+
├── JavaScript Scripts (root) # JS fundamentals & DOM exercises
15+
├── Web Files (root) # HTML & CSS files
16+
├── OOPS/ # OOP inheritance deep-dive
17+
└── Leetcode/ # LeetCode problem solutions
18+
```
1519

1620
---
1721

1822
## Table of Contents
1923

20-
1. [Introduction & Basics of Python](#section-1)
21-
2. [Conditional Statements](#section-2)
22-
3. [pip & Modules](#section-3)
23-
4. [Loops in Python](#section-4)
24-
5. [Strings in Python](#section-5)
25-
6. [Data Structures](#section-6)
26-
7. [Functions in Python](#section-7)
27-
8. [Virtual Environment & Requirements](#section-8)
28-
9. [File Handling in Python](#section-9)
29-
10. [Exception Handling](#section-10)
30-
11. [Logging in Python](#section-11)
31-
12. [Mega Projects](#section-12)
32-
13. [Regular Expressions](#section-13)
33-
14. [Solving Day-to-Day Problems](#section-14)
34-
15. [OOP in Python](#section-15)
35-
16. [Advanced OOP in Python](#section-16)
36-
17. [Projects & Final Exercises](#section-17)
24+
1. [Python — Core Exercises](#1-python--core-exercises)
25+
2. [Python — Array & List Algorithms](#2-python--array--list-algorithms)
26+
3. [Python — OOP (OOPS folder)](#3-python--oop-oops-folder)
27+
4. [JavaScript — Fundamentals](#4-javascript--fundamentals)
28+
5. [Web — HTML & CSS](#5-web--html--css)
29+
6. [LeetCode Solutions](#6-leetcode-solutions)
3730

3831
---
3932

40-
## Progress
41-
42-
| Section | Topic | Duration | Status |
43-
| --- | --- | --- | --- |
44-
| **1. Introduction & Basics of Python** | | | |
45-
| 1.1 | Introduction to Python & Setup | 16min | ✅ Completed |
46-
| 1.2 | Write our first Program in Python | 13min | ✅ Completed |
47-
| 1.3 | Python Data Types & Comments | 18min | ✅ Completed |
48-
| 1.4 | Variables, Keywords & Identifiers in Python | 22min | ✅ Completed |
49-
| 1.5 | Python Input | 18min | ✅ Completed |
50-
| 1.6 | Type Conversion in Python | 8min | ✅ Completed |
51-
| 1.7 | Literals in Python | 14min | ✅ Completed |
52-
| 1.8 | Operators in Python | 24min | ✅ Completed |
53-
| 1.9 | Operators Exercise | 11min | ✅ Completed |
54-
| **2. Conditional Statements** | | | |
55-
| 2.1 | If Else Conditional Statements | 30min | ✅ Completed |
56-
| 2.2 | Conditional Statements Exercise | 20min | ✅ Completed |
57-
| **3. pip & Modules** | | | |
58-
| 3.1 | Modules in Python | 17min | ✅ Completed |
59-
| 3.2 | Pip in Python | 9min | ✅ Completed |
60-
| **4. Loops in Python** | | | |
61-
| 4.1 | While Loop | 23min | ✅ Completed |
62-
| 4.2 | Guessing Game using While Loop | 11min | ✅ Completed |
63-
| 4.3 | For Loops | 11min | ✅ Completed |
64-
| 4.4 | Nested For Loop | 18min | ✅ Completed |
65-
| 4.5 | Loop Control Statements | 14min | ✅ Completed |
66-
| **5. Strings in Python** | | | |
67-
| 5.1 | Strings in Python | 28min | ✅ Completed |
68-
| 5.2 | String Operations | 14min | ✅ Completed |
69-
| 5.3 | String Methods | 31min | ✅ Completed |
70-
| 5.4 | f-strings in Python | 4min | ✅ Completed |
71-
| 5.5 | Strings Exercise | 18min | ✅ Completed |
72-
| **6. Data Structures** | | | |
73-
| 6.1 | Lists in Python | 44min | ❌ Not Started |
74-
| 6.2 | Lists Methods | 18min | ❌ Not Started |
75-
| 6.3 | Lists Operations | 4min | ❌ Not Started |
76-
| 6.4 | List Comprehension | 13min | ❌ Not Started |
77-
| 6.5 | Zip Function | 9min | ❌ Not Started |
78-
| 6.6 | Lists Exercise | 18min | ❌ Not Started |
79-
| 6.7 | Tuples in Python | 15min | ❌ Not Started |
80-
| 6.8 | Tuples Operations | 3min | ❌ Not Started |
81-
| 6.9 | Tuples Methods | 4min | ❌ Not Started |
82-
| 6.10 | Difference between Lists and Tuples | 5min | ❌ Not Started |
83-
| 6.11 | Tuples Unpacking | 4min | ❌ Not Started |
84-
| 6.12 | Tuples Comprehension | 4min | ❌ Not Started |
85-
| 6.13 | Sets in Python | 19min | ❌ Not Started |
86-
| 6.14 | Sets Operations | 6min | ❌ Not Started |
87-
| 6.15 | Sets Methods | 8min | ❌ Not Started |
88-
| 6.16 | Frozenset in Python | 5min | ❌ Not Started |
89-
| 6.17 | Sets Comprehension | 3min | ❌ Not Started |
90-
| 6.18 | Dictionary in Python | 23min | ❌ Not Started |
91-
| 6.19 | Dictionary Operations | 3min | ❌ Not Started |
92-
| 6.20 | Dictionary Methods | 4min | ❌ Not Started |
93-
| 6.21 | Dictionary Comprehension | 7min | ❌ Not Started |
94-
| 6.22 | Restaurant Management System | 12min | ❌ Not Started |
95-
| **7. Functions in Python** | | | |
96-
| 7.1 | Functions in Python | 20min | ❌ Not Started |
97-
| 7.2 | Docstrings in Functions | 7min | ❌ Not Started |
98-
| 7.3 | Parameters vs Arguments | 7min | ❌ Not Started |
99-
| 7.4 | *args and **kwargs | 12min | ❌ Not Started |
100-
| 7.5 | Function Memory Execution | 4min | ❌ Not Started |
101-
| 7.6 | Functions without Return Statement | 4min | ❌ Not Started |
102-
| 7.7 | Variable Scope in Functions | 11min | ❌ Not Started |
103-
| 7.8 | Nested Functions | 7min | ❌ Not Started |
104-
| 7.9 | Functions as First-Class Citizens | 10min | ❌ Not Started |
105-
| 7.10 | Benefits of Using Functions | 3min | ❌ Not Started |
106-
| 7.11 | Lambda Function | 14min | ❌ Not Started |
107-
| 7.12 | Higher Order Functions (map, filter, reduce) | 13min | ❌ Not Started |
108-
| 7.13 | Enumerate Function | 4min | ❌ Not Started |
109-
| **8. Virtual Environment & Requirements** | | | |
110-
| 8.1 | Virtual Environment in Python | 12min | ❌ Not Started |
111-
| 8.2 | requirements.txt in Python | 10min | ❌ Not Started |
112-
| **9. File Handling in Python** | | | |
113-
| 9.1 | File Handling | 19min | ❌ Not Started |
114-
| 9.2 | File Handling using Context Manager | 23min | ❌ Not Started |
115-
| 9.3 | Problems with Text Mode | 8min | ❌ Not Started |
116-
| 9.4 | Serialization & Deserialization | 10min | ❌ Not Started |
117-
| 9.5 | Pickling in Python | 5min | ❌ Not Started |
118-
| **10. Exception Handling** | | | |
119-
| 10.1 | Exception Handling in Python | 21min | ❌ Not Started |
120-
| 10.2 | Types of Exception Handling | 9min | ❌ Not Started |
121-
| 10.3 | Try Except Else | 3min | ❌ Not Started |
122-
| 10.4 | Try Except Else Finally | 3min | ❌ Not Started |
123-
| 10.5 | Raise Exception | 3min | ❌ Not Started |
124-
| **11. Logging in Python** | | | |
125-
| 11.1 | Logging in Python | N/A | ❌ Not Started |
126-
| **12. Mega Projects** | | | |
127-
| 12.1 | Building an Iron Man JARVIS System | 1hr | ❌ Not Started |
128-
| 12.2 | Building a Multilingual AI Assistant | 31min | ❌ Not Started |
129-
| **13. Regular Expressions** | | | |
130-
| 13.1 | Introduction to Regular Expressions | 23min | ❌ Not Started |
131-
| **14. Solving Day-to-Day Problems** | | | |
132-
| 14.1 | Automated Email Sender in Python | 24min | ❌ Not Started |
133-
| **15. OOP in Python** | | | |
134-
| 15.1 | Introduction to Object-Oriented Programming | 17min | ❌ Not Started |
135-
| 15.2 | OOP Classes and Objects | 15min | ❌ Not Started |
136-
| 15.3 | Constructor and Destructor | 8min | ❌ Not Started |
137-
| 15.4 | Inheritance | 19min | ❌ Not Started |
138-
| 15.5 | Encapsulation | 10min | ❌ Not Started |
139-
| 15.6 | Polymorphism | 11min | ❌ Not Started |
140-
| 15.7 | Abstraction | 5min | ❌ Not Started |
141-
| **16. Advanced OOP in Python** | | | |
142-
| 16.1 | Multiple Inheritance | 6min | ❌ Not Started |
143-
| 16.2 | Method Resolution Order (MRO) | 4min | ❌ Not Started |
144-
| 16.3 | Operator Overloading | 8min | ❌ Not Started |
145-
| 16.4 | Class Methods vs Static Methods | 6min | ❌ Not Started |
146-
| **17. Projects & Final Exercises** | | | |
147-
| 17.1 | Project: Website Scraper | 30min | ❌ Not Started |
148-
| 17.2 | Project: Create an API with Flask | 1hr | ❌ Not Started |
149-
| 17.3 | Final Review and Bonus Content | 25min | ❌ Not Started |
150-
|**18 .Mega OOP Project**| | | |
151-
| 18.1 | Conclusion and Future Advice | 34min | ❌ Not Started |
152-
---
33+
## 1. Python — Core Exercises
34+
35+
| File | Description |
36+
|------|-------------|
37+
| [common_elements.py](common_elements.py) | Find common elements between two lists |
38+
| [dunder.py](dunder.py) | Dunder (magic) methods in Python |
39+
| [employee.py](employee.py) | Employee class — OOP basics (class, attributes, methods) |
40+
| [finding_element_index.py](finding_element_index.py) | Find the index of an element in a list |
41+
| [guess_game.py](guess_game.py) | Number guessing game using a while loop |
42+
| [list_operations_demo.py](list_operations_demo.py) | Demo of common list operations |
43+
| [merge_two_list.py](merge_two_list.py) | Merge two lists into one |
44+
| [missing_number.py](missing_number.py) | Find the missing number in a sequence |
45+
| [remove_duplicates.py](remove_duplicates.py) | Remove duplicate values from a list |
46+
| [second_largest_element.py](second_largest_element.py) | Find the second largest element in a list |
47+
| [sort Array.py](sort%20Array.py) | Sort an array |
48+
| [sum_of_elements.py](sum_of_elements.py) | Calculate the sum of list elements |
49+
| [swap_without_temp.py](swap_without_temp.py) | Swap two variables without a temporary variable |
50+
| [without_moduler.py](without_moduler.py) | Check odd/even without the modulo operator |
51+
| [Move All Zeros to the End.py](Move%20All%20Zeros%20to%20the%20End.py) | Move all zeros to the end of an array |
15352

154-
Feel free to add or modify more details, or sections, based on your learning progress.
53+
---
15554

156-
## Structure
55+
## 2. Python — Array & List Algorithms
15756

158-
The repository is organized by topics, with each topic containing directories for my personal solutions. Each directory includes:
159-
160-
- **Solution:** My code implementation of the problem.
161-
162-
- **Additional Notes:** Any insights or comments I found useful while solving the problem.
163-
164-
### Example Structure
165-
```
57+
| File | Description |
58+
|------|-------------|
59+
| [sliding_window_sum.py](sliding_window_sum.py) | Sliding window sum of a fixed-size window |
60+
| [max_sliding_window_sum.py](max_sliding_window_sum.py) | Maximum sum using the sliding window technique |
61+
| [max_subarray_sum_length4.py](max_subarray_sum_length4.py) | Maximum subarray sum of length 4 |
16662

63+
---
16764

168-
├── Day 1
169-
│ ├── Lec 1: Introduction to Python & Setup
170-
│ │ ├── Problem1.py
171-
│ │ ├── Problem2.py
172-
│ │ └── ...
173-
│ ├── Lec 2: Write Our First Program in Python
174-
│ │ ├── Problem1.py
175-
│ │ ├── Problem2.py
176-
│ │ └── ...
177-
│ ├── Lec 3: Python Data Types & Comments
178-
│ │ ├── Problem1.py
179-
│ │ ├── Problem2.py
180-
│ │ └── ...
181-
│ ├── Lec 4: Variables, Keywords & Identifiers in Python
182-
│ │ ├── Problem1.py
183-
│ │ ├── Problem2.py
184-
│ │ └── ...
185-
│ ├── Lec 5: Python Input
186-
│ │ ├── Problem1.py
187-
│ │ ├── Problem2.py
188-
│ │ └── ...
189-
├── Day 2
190-
│ ├── Lec 6: Type Conversion in Python
191-
│ │ ├── Problem1.py
192-
│ │ ├── Problem2.py
193-
│ │ └── ...
194-
│ ├── Lec 7: Operators in Python
195-
│ │ ├── Problem1.py
196-
│ │ ├── Problem2.py
197-
│ │ └── ...
198-
│ ├── Lec 8: Conditional Statements (if, else, elif)
199-
│ │ ├── Problem1.py
200-
│ │ ├── Problem2.py
201-
│ │ └── ...
202-
│ ├── Lec 9: Loops (while, for)
203-
│ │ ├── Problem1.py
204-
│ │ ├── Problem2.py
205-
│ │ └── ...
206-
│ ├── Lec 10: Strings in Python
207-
│ │ ├── Problem1.py
208-
│ │ ├── Problem2.py
209-
│ │ └── ...
210-
├── Day 3
211-
│ ├── Lec 11: Lists in Python
212-
│ │ ├── Problem1.py
213-
│ │ ├── Problem2.py
214-
│ │ └── ...
215-
│ ├── Lec 12: Tuples in Python
216-
│ │ ├── Problem1.py
217-
│ │ ├── Problem2.py
218-
│ │ └── ...
219-
│ ├── Lec 13: Sets in Python
220-
│ │ ├── Problem1.py
221-
│ │ ├── Problem2.py
222-
│ │ └── ...
223-
│ ├── Lec 14: Dictionaries in Python
224-
│ │ ├── Problem1.py
225-
│ │ ├── Problem2.py
226-
│ │ └── ...
227-
│ ├── Lec 15: Functions in Python
228-
│ │ ├── Problem1.py
229-
│ │ ├── Problem2.py
230-
│ │ └── ...
231-
├── Day 4
232-
│ ├── Lec 16: Exception Handling in Python
233-
│ │ ├── Problem1.py
234-
│ │ ├── Problem2.py
235-
│ │ └── ...
236-
│ ├── Lec 17: Logging in Python
237-
│ │ ├── Problem1.py
238-
│ │ ├── Problem2.py
239-
│ │ └── ...
240-
│ ├── Lec 18: Object-Oriented Programming (OOP) in Python
241-
│ │ ├── Problem1.py
242-
│ │ ├── Problem2.py
243-
│ │ └── ...
244-
│ ├── Lec 19: Class Inheritance in OOP
245-
│ │ ├── Problem1.py
246-
│ │ ├── Problem2.py
247-
│ │ └── ...
248-
├── Day 5
249-
│ ├── Lec 20: Advanced OOP Concepts in Python
250-
│ │ ├── Problem1.py
251-
│ │ ├── Problem2.py
252-
│ │ └── ...
253-
│ ├── Lec 21: Final Project (Building a Python-Based JARVIS System)
254-
│ │ ├── Problem1.py
255-
│ │ ├── Problem2.py
256-
│ │ └── ...
65+
## 3. Python — OOP (`OOPS/` folder)
66+
67+
| File | Description |
68+
|------|-------------|
69+
| [single_inheritence.py](OOPS/single_inheritence.py) | Single inheritance example |
70+
| [python_multi_level_inheritance.py](OOPS/python_multi_level_inheritance.py) | Multi-level inheritance |
71+
| [practice_multilevel_inheritence.py](OOPS/practice_multilevel_inheritence.py) | Practice: multi-level inheritance |
72+
| [multiple_inheritence_example.py](OOPS/multiple_inheritence_example.py) | Multiple inheritance basics |
73+
| [multiple_inheritence_example1.py](OOPS/multiple_inheritence_example1.py) | Multiple inheritance — example 2 |
74+
| [practice_multiple_inheritence.py](OOPS/practice_multiple_inheritence.py) | Practice: multiple inheritance |
75+
| [python_multiple_inheritance_demo.py](OOPS/python_multiple_inheritance_demo.py) | Full demo of multiple inheritance |
76+
| [multiple_and_multilevel_inheritance.py](OOPS/multiple_and_multilevel_inheritance.py) | Combined multiple & multilevel inheritance |
77+
| [hierarchical_inheritence.py](OOPS/hierarchical_inheritence.py) | Hierarchical inheritance |
78+
| [hybrid_inheritence.py](OOPS/hybrid_inheritence.py) | Hybrid inheritance |
79+
| [hybrid_inheritence_example1.py](OOPS/hybrid_inheritence_example1.py) | Hybrid inheritance — example with diagram comments |
80+
| [method_overriding_function.py](OOPS/method_overriding_function.py) | Method overriding |
81+
| [super_function_example.py](OOPS/super_function_example.py) | Using `super()` in inheritance |
82+
| [is_sub_class_function.py](OOPS/is_sub_class_function.py) | `issubclass()` and `isinstance()` built-in functions |
83+
| [Product_of_array.py](OOPS/Product_of_array.py) | Product of array elements (algorithm practice) |
84+
| [Increasing_Triplet_Subsequence.py](OOPS/Increasing_Triplet_Subsequence.py) | Increasing triplet subsequence (algorithm practice) |
25785

258-
```
86+
---
25987

88+
## 4. JavaScript — Fundamentals
89+
90+
| File | Description |
91+
|------|-------------|
92+
| [first.js](first.js) | First JavaScript program |
93+
| [functions.js](functions.js) | Function declarations and expressions |
94+
| [function_call.js](function_call.js) | Calling functions |
95+
| [function_test.js](function_test.js) | Function testing examples |
96+
| [multiple_return.js](multiple_return.js) | Functions with multiple return values |
97+
| [wrong_function.js](wrong_function.js) | Common function mistakes and fixes |
98+
| [arrays.js](arrays.js) | Array basics |
99+
| [array_length.js](array_length.js) | Array length property |
100+
| [append.js](append.js) | Appending elements to arrays/DOM |
101+
| [loop.js](loop.js) | Loop basics |
102+
| [while.js](while.js) | While loop examples |
103+
| [else_with_while.js](else_with_while.js) | Using else with while loops |
104+
| [for_in.js](for_in.js) | `for...in` loop |
105+
| [odd_or_even.js](odd_or_even.js) | Odd or even check |
106+
| [Access_object_value.js](Access_object_value.js) | Accessing object properties |
107+
| [Dom.js](Dom.js) | DOM manipulation |
108+
| [script.js](script.js) | General script examples |
109+
| [test.js](test.js) | Test / scratch file |
110+
| [prompt_version.js](prompt_version.js) | Using `prompt()` for user input |
111+
| [prompt_without_paras.js](prompt_without_paras.js) | `prompt()` without parameters |
112+
| [using_prompt_inside_function.js](using_prompt_inside_function.js) | `prompt()` inside a function |
113+
| [undeclared_version.js](undeclared_version.js) | Undeclared variables and `var`/`let`/`const` scoping |
260114

261-
## Contributing
115+
---
262116

263-
Although this repository is primarily for tracking my own progress, I welcome any suggestions, improvements, or discussions. Feel free to open an issue or submit a pull request if you find something that can be improved.
117+
## 5. Web — HTML & CSS
264118

265-
## License
119+
| File | Description |
120+
|------|-------------|
121+
| [index.html](index.html) | Main HTML page |
122+
| [new.html](new.html) | Additional HTML page |
123+
| [style.css](style.css) | Stylesheet |
266124

267-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
125+
---
268126

269-
## Acknowledgements
127+
## 6. LeetCode Solutions
270128

271-
- [Striver](https://takeuforward.org/strivers-a2z-dsa-course/strivers-a2z-dsa-course-sheet-2/): For creating the A-Z DSA sheet and providing a structured path for DSA practice.
272-
- The open-source community for continuous learning and collaboration.
129+
| File | Problem | Topic |
130+
|------|---------|-------|
131+
| [Leetcode/Leetcode_283.py](Leetcode/Leetcode_283.py) | #283 — Move Zeroes | Array, Two Pointers |
132+
| [Leetcode/leetcode_605.py](Leetcode/leetcode_605.py) | #605 — Can Place Flowers | Array, Greedy |
273133

274134

275135

0 commit comments

Comments
 (0)