Skip to content

Mansiikumarii/DSA-in-Python

Repository files navigation

   



██████╗ ██╗   ██╗████████╗██╗  ██╗ ██████╗ ███╗   ██╗
██╔══██╗╚██╗ ██╔╝╚══██╔══╝██║  ██║██╔═══██╗████╗  ██║
██████╔╝ ╚████╔╝    ██║   ███████║██║   ██║██╔██╗ ██║
██╔═══╝   ╚██╔╝     ██║   ██╔══██║██║   ██║██║╚██╗██║
██║        ██║      ██║   ██║  ██║╚██████╔╝██║ ╚████║
╚═╝        ╚═╝      ╚═╝   ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

Learn Python by breaking things — and understanding why.


🗂️ What's Inside

11 topic folders · 50+ scripts · all self-contained · all runnable

# Folder Concept
01 📁 Data Types/ str, list, dict, set, tuple, None
02 📁 Operators/ arithmetic, bitwise, logical, ternary
03 📁 Condition/ if / elif / else, indentation rules
04 📁 Loop/ for, while, nested, pattern matching
05 📁 Functions/ definitions, lambdas, arguments
06 📁 Module/ imports, reusable code
07 📁 Base Conversion/ type casting, number systems
08 📁 Data Structures/ linked lists, custom structures
09 📁 Object Reference & Memory/ shallow/deep copy, references
10 📁 OOP/ classes, constructors, objects
11 📁 Recursion/ recursive functions, scope rules

▶️ Running Scripts

# Navigate to the project root
cd "c:\Users\mansi\Desktop\Python"

# Run any script like this:
python "Data Types/Dictionary.py"
python "Loop/For.py"
python "OOP/oop.py"
python "Recursion/Recur.py"

🧭 Recommended Learning Path

Data Types  ──►  Operators  ──►  Condition  ──►  Loop
                                                    │
                   Recursion  ◄──  OOP  ◄──  Functions

Start at the top-left and follow the arrows — each topic builds on the last.


🔁 The Learning Loop

1. Open a folder       →   read the filenames
2. Read the code       →   understand the comments
3. Run it              →   python "Folder/Script.py"
4. Break it            →   change a value, edit a branch
5. Run again           →   compare the output
6. Repeat              →   until the behavior clicks 🧠

✅ Quick Notes

  • ✔ Python 3.x only
  • ✔ No pip install needed
  • ✔ Edit freely — you can't break anything permanently
  • ✔ Best used with VS Code or PyCharm open side-by-side

Made for learners who understand things by doing them — not just reading about them.

experiment · break · understand · repeat

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages