Skip to content

Commit d0a87b8

Browse files
author
majid shahbaz
committed
Main README.md updated
1 parent c250134 commit d0a87b8

File tree

1 file changed

+51
-6
lines changed

1 file changed

+51
-6
lines changed

README.md

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
### [2. DataTypes](https://github.com/Majid460/python_practice_part1/tree/main/src/datatypes)
1313
#### [2.1. Numbers](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/numbers_in_python/numbers.py)
1414
2.1.1. Numbers in Python
15-
2.1.1. Types of Numbers
16-
2.1.1. Basic Arithmetic Operations
17-
2.1.1. Precedence of Operators
18-
2.1.1. Armstrong Number Example
19-
2.1.1. Armstrong Number with List Comprehension
20-
2.1.1. Reverse a Number
15+
2.1.2. Types of Numbers
16+
2.1.3. Basic Arithmetic Operations
17+
2.1.4. Precedence of Operators
18+
2.1.5. Armstrong Number Example
19+
2.1.6. Armstrong Number with List Comprehension
20+
2.1.7. Reverse a Number
2121
#### [2.2. Strings](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/strings/strings.py)
2222
2.2.1. What is a String
2323
2.2.2. String Indexing and Slicing
@@ -80,3 +80,48 @@
8080
##### [3.4. Membership Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py)
8181
3.4.1. 'in' Check if present in sequence
8282
3.4.2. 'not in' Check if not present in sequence
83+
84+
### [4. Data Structures](https://github.com/Majid460/python_practice_part1/tree/main/src/data_structures)
85+
86+
#### [4.1. Lists](https://github.com/Majid460/python_practice_part1/blob/main/src/data_structures/lists/lists.py)
87+
4.1.1. Converting Collections to Lists
88+
4.1.1.1. From Tuple to List
89+
4.1.1.2. From Set to List
90+
4.1.1.3. From String to List
91+
4.1.2. List Indexing and Slicing
92+
4.1.2.1. Access Items
93+
4.1.2.2. Negative Indexing
94+
4.1.2.3. Range of Indexes
95+
4.1.2.4. Range of Negative Indexes
96+
4.1.3. Creating Lists with Loops
97+
4.1.3.1. Traditional For Loop Method
98+
4.1.3.2. User Input with Loop
99+
4.1.3.3. User Input for Elements
100+
4.1.3.4. List Comprehension (Modern Approach)
101+
4.1.4. Iterating Through Lists
102+
4.1.4.1. Using For Loop with Range
103+
4.1.4.2. Using While Loop
104+
4.1.4.3. Using List Comprehension for Printing
105+
4.1.5. 2D Lists (Matrices)
106+
4.1.5.1. Matrix Creation and Structure
107+
4.1.5.2. Accessing Matrix Elements
108+
4.1.5.3. Matrix Row and Column Access
109+
4.1.5.4. Iterating Through All Matrix Elements
110+
4.1.5.5. Formatted Matrix Output
111+
112+
#### [4.2. Matrix Operations](https://github.com/Majid460/python_practice_part1/blob/main/src/data_structures/matrices/matrix_operations.py)
113+
4.2.1. Count Element Occurrences
114+
4.2.1.1. Dictionary-based Counting
115+
4.2.1.2. List Comprehension Approach
116+
4.2.2. Sum Calculations
117+
4.2.2.1. Sum of All Elements
118+
4.2.2.2. Sum of Elements in Each Row
119+
4.2.2.3. Sum of Elements in Each Column
120+
4.2.3. Element Analysis
121+
4.2.3.1. Find Maximum and Minimum Elements
122+
4.2.3.2. Count Even and Odd Numbers
123+
4.2.3.3. Categorize Even/Odd Elements
124+
4.2.4. Advanced Matrix Operations
125+
4.2.4.1. Matrix Transpose (Nested Loops)
126+
4.2.4.2. Matrix Transpose (List Comprehension)
127+
4.2.4.3. Matrix Transformation Algorithms

0 commit comments

Comments
 (0)