|
1 | 1 | ## This repository includes the basic python concepts. |
2 | 2 |
|
3 | | -### [1. Variables](https://github.com/Majid460/python_practice_part1/blob/main/src/variables/variables.py) |
| 3 | +### [1. Variables](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/variables/variables.py) |
4 | 4 | 1.1.1. Variables initialization |
5 | 5 | 1.2.1. Variables naming convention |
6 | 6 | 1.3.1. Variables printing |
|
9 | 9 | 1.6.1. Multiple named variables |
10 | 10 | 1.7.1. Multiple Assignments of Variables |
11 | 11 | 1.8.1. Re-assigning the variables |
12 | | -### [2. DataTypes](https://github.com/Majid460/python_practice_part1/tree/main/src/datatypes) |
| 12 | +### [2. DataTypes](https://github.com/Majid460/python_practice_part1/tree/main/src/basic/datatypes) |
13 | 13 | #### [2.1. Numbers](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/numbers_in_python/numbers.py) |
14 | 14 | 2.1.1. Numbers in Python |
15 | 15 | 2.1.2. Types of Numbers |
|
18 | 18 | 2.1.5. Armstrong Number Example |
19 | 19 | 2.1.6. Armstrong Number with List Comprehension |
20 | 20 | 2.1.7. Reverse a Number |
21 | | - #### [2.2. Strings](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/strings/strings.py) |
| 21 | + #### [2.2. Strings](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/datatypes/strings/strings.py) |
22 | 22 | 2.2.1. What is a String |
23 | 23 | 2.2.2. String Indexing and Slicing |
24 | 24 | 2.2.3. String Reverse with Slice |
|
35 | 35 | 2.2.14. Advanced Checks: isdecimal() vs isdigit(), isidentifier(), isprintable() |
36 | 36 | 2.2.15. Join and Strip usage |
37 | 37 | 2.2.16. Character Replacement using translate() and maketrans() |
38 | | - #### [2.3. Booleans](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/boolean/boolean.py) |
| 38 | + #### [2.3. Booleans](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/datatypes/boolean/boolean.py) |
39 | 39 | 2.3.1. What are Booleans |
40 | 40 | 2.3.2. Boolean Expressions (`==`, `>`, `<`) |
41 | 41 | 2.3.3. `if` Condition with Boolean Result |
42 | 42 | 2.3.4. `bool()` Function Overview |
43 | 43 | 2.3.5. Values that Return `True` |
44 | 44 | 2.3.6. Values that Return `False` |
45 | 45 | 2.3.7. Class Example Returning False via `__len__` |
46 | | - #### [2.4. Type Casting](https://github.com/Majid460/python_practice_part1/blob/main/src/datatypes/casting/casting.py) |
| 46 | + #### [2.4. Type Casting](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/datatypes/casting/casting.py) |
47 | 47 | 2.4.1. What is Type Casting? |
48 | 48 | 2.4.2. Using `int()`, `float()`, and `str()` |
49 | 49 | 2.4.3. Convert `int` to `str` |
50 | 50 | 2.4.4. Convert `float` to `int` |
51 | 51 | 2.4.5. Convert `str` to `float` |
52 | 52 | 2.4.6. Convert `int` to `float` |
53 | 53 |
|
54 | | -### [3. Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py) |
55 | | -#### [3.1. Assignment Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py) |
| 54 | +### [3. Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/operators/operators.py) |
| 55 | +#### [3.1. Assignment Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/operators/operators.py) |
56 | 56 | 3.1.1. = Equal to |
57 | 57 | 3.1.2. += Add and Assign |
58 | 58 | 3.1.3. -= Subtract and Assign |
|
68 | 68 | 3.1.13. <<= Left Shift and Assign |
69 | 69 | 3.1.14. := Walrus Operator |
70 | 70 |
|
71 | | -##### [3.2. Logical Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py) |
| 71 | +##### [3.2. Logical Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/operators/operators.py) |
72 | 72 | 3.2.1. and Logical AND |
73 | 73 | 3.2.2. or Logical OR |
74 | 74 | 3.2.3. not Logical NOT |
75 | 75 |
|
76 | | -##### [3.3. Identity Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py) |
| 76 | +##### [3.3. Identity Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/operators/operators.py) |
77 | 77 | 3.3.1. 'is' Identity Equals |
78 | 78 | 3.3.2. 'is not' Identity Not Equals |
79 | 79 |
|
80 | | -##### [3.4. Membership Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/operators/operators.py) |
| 80 | +##### [3.4. Membership Operators](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/operators/operators.py) |
81 | 81 | 3.4.1. 'in' Check if present in sequence |
82 | 82 | 3.4.2. 'not in' Check if not present in sequence |
83 | 83 |
|
|
209 | 209 | 4.5.7.1. Union Operator (|) |
210 | 210 | 4.5.7.2. Intersection Operator (&) |
211 | 211 | 4.5.7.3. Difference Operator (-) |
212 | | - 4.5.7.4. Symmetric Difference Operator (^) |
| 212 | + 4.5.7.4. Symmetric Difference Operator (^) |
| 213 | +#### [4.6. Conditional Statements](https://github.com/Majid460/python_practice_part1/blob/main/src/basic/conditional) |
| 214 | + 4.6.1. Python Logical Conditions |
| 215 | + 4.6.1.1. Comparison Operators (==, !=, <, <=, >, >=) |
| 216 | + 4.6.1.2. Basic If Statement |
| 217 | + 4.6.1.3. Indentation Requirements |
| 218 | + 4.6.2. If-Elif-Else Statements |
| 219 | + 4.6.2.1. If Statement |
| 220 | + 4.6.2.2. Elif (Else If) Statement |
| 221 | + 4.6.2.3. Else Statement |
| 222 | + 4.6.2.4. Short Hand If (One Line) |
| 223 | + 4.6.3. Logical Operators |
| 224 | + 4.6.3.1. And Operator (Multiple Conditions) |
| 225 | + 4.6.3.2. Or Operator (Alternative Conditions) |
| 226 | + 4.6.3.3. Not Operator (Reverse Logic) |
| 227 | + 4.6.3.4. Chained Comparisons |
| 228 | + 4.6.4. Special Statements |
| 229 | + 4.6.4.1. Pass Statement (Empty Blocks) |
| 230 | + 4.6.4.2. Nested Conditionals |
| 231 | + 4.6.5. Match Statement (Python 3.10+) |
| 232 | + 4.6.5.1. Basic Match-Case Structure |
| 233 | + 4.6.5.2. Default Case (Wildcard *) |
| 234 | + 4.6.5.3. Multiple Value Matching (|) |
| 235 | + 4.6.5.4. Guard Conditions (If in Case) |
| 236 | + 4.6.5.5. Match vs If-Elif Comparison |
| 237 | + |
| 238 | +#### [4.7. Loops](https://github.com/Majid460/python_practice_part1/blob/main/src/loops) |
| 239 | + 4.7.1. While Loops |
| 240 | + 4.7.1.1. Basic While Loop Structure |
| 241 | + 4.7.1.2. Variable Initialization and Increment |
| 242 | + 4.7.1.3. Infinite Loop Prevention |
| 243 | + 4.7.2. While Loop Control Statements |
| 244 | + 4.7.2.1. Break Statement |
| 245 | + 4.7.2.2. Continue Statement |
| 246 | + 4.7.2.3. Else Statement with While |
| 247 | + 4.7.3. For Loops |
| 248 | + 4.7.3.1. Basic For Loop Structure |
| 249 | + 4.7.3.2. Iterating Over Sequences |
| 250 | + 4.7.3.3. String Iteration |
| 251 | + 4.7.4. Advanced For Loop Techniques |
| 252 | + 4.7.4.1. Enumerate Function |
| 253 | + 4.7.4.2. Word and Character Processing |
| 254 | + 4.7.4.3. Finding Elements and Positions |
| 255 | + 4.7.5. Nested Loops |
| 256 | + 4.7.5.1. Basic Nested Loop Structure |
| 257 | + 4.7.5.2. Matrix and 2D Data Processing |
0 commit comments