Skip to content

Commit a98d525

Browse files
author
majid shahbaz
committed
README.md updated and added functions
1 parent 285cc0f commit a98d525

File tree

1 file changed

+56
-11
lines changed

1 file changed

+56
-11
lines changed

README.md

Lines changed: 56 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## This repository includes the basic python concepts.
22

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)
44
1.1.1. Variables initialization
55
1.2.1. Variables naming convention
66
1.3.1. Variables printing
@@ -9,7 +9,7 @@
99
1.6.1. Multiple named variables
1010
1.7.1. Multiple Assignments of Variables
1111
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)
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
1515
2.1.2. Types of Numbers
@@ -18,7 +18,7 @@
1818
2.1.5. Armstrong Number Example
1919
2.1.6. Armstrong Number with List Comprehension
2020
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)
2222
2.2.1. What is a String
2323
2.2.2. String Indexing and Slicing
2424
2.2.3. String Reverse with Slice
@@ -35,24 +35,24 @@
3535
2.2.14. Advanced Checks: isdecimal() vs isdigit(), isidentifier(), isprintable()
3636
2.2.15. Join and Strip usage
3737
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)
3939
2.3.1. What are Booleans
4040
2.3.2. Boolean Expressions (`==`, `>`, `<`)
4141
2.3.3. `if` Condition with Boolean Result
4242
2.3.4. `bool()` Function Overview
4343
2.3.5. Values that Return `True`
4444
2.3.6. Values that Return `False`
4545
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)
4747
2.4.1. What is Type Casting?
4848
2.4.2. Using `int()`, `float()`, and `str()`
4949
2.4.3. Convert `int` to `str`
5050
2.4.4. Convert `float` to `int`
5151
2.4.5. Convert `str` to `float`
5252
2.4.6. Convert `int` to `float`
5353

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)
5656
3.1.1. = Equal to
5757
3.1.2. += Add and Assign
5858
3.1.3. -= Subtract and Assign
@@ -68,16 +68,16 @@
6868
3.1.13. <<= Left Shift and Assign
6969
3.1.14. := Walrus Operator
7070

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)
7272
3.2.1. and Logical AND
7373
3.2.2. or Logical OR
7474
3.2.3. not Logical NOT
7575

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)
7777
3.3.1. 'is' Identity Equals
7878
3.3.2. 'is not' Identity Not Equals
7979

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)
8181
3.4.1. 'in' Check if present in sequence
8282
3.4.2. 'not in' Check if not present in sequence
8383

@@ -209,4 +209,49 @@
209209
4.5.7.1. Union Operator (|)
210210
4.5.7.2. Intersection Operator (&)
211211
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

Comments
 (0)