This repository contains a structured collection of beginner to intermediate-level Python programs. It is designed to help students and self-learners build a strong foundation in Python programming by organizing concepts topic-wise with real code examples.
Python/ ├── 01_Operators/ ├── 02_String_and_Conditionals/ │ ├── 01_Strings/ │ └── 02_Conditionals/ ├── 03_List_and_Tuples/ ├── 04_Dictionary_and_Set/ │ ├── 01_Dictionary/ │ └── 02_Set/ ├── 05_Loops/ ├── 06_Functions_and_Recursion/ ├── 07_File_Input_Output/ ├── 08_OOPS/ └── README.md
| Module | Description |
|---|---|
| 01_Operators | Arithmetic, relational, logical, and bitwise operators |
| 02_String_and_Conditionals | String manipulation, slicing, formatting, if-else, nested conditions |
| 03_List_and_Tuples | Working with lists and tuples, indexing, slicing, and mutability |
| 04_Dictionary_and_Set | Dictionary operations, .get(), .items(), and set theory basics |
| 05_Loops | for and while loops, break, continue, nested loops |
| 06_Functions_and_Recursion | Function creation, parameters, return, recursion (factorial, Fibonacci) |
| 07_File_Input_Output | Reading/writing .txt and .csv files, file modes, exception handling |
| 08_OOPS | Object-oriented programming, classes, objects, methods, inheritance |
- Python 3.10+ (Recommended)
- Any text editor or IDE (VS Code, PyCharm, Sublime, etc.)
- Clone this repository:
git clone https://github.com/SwaroopMoon/Python.git
cd Python
Browse the folder of any topic you want to practice.
Run a Python file using:
bash
Copy
Edit
python filename.py
🎯 Ideal For
B.Tech / B.Sc. / CS students
Beginners learning Python syntax and logic
Practicing DSA and logic building
Mini-projects, assignment help, interview prep
🤝 Contributions
Contributions are welcome!
Feel free to:
Add new programs under appropriate folders
Improve folder organization or structure
Submit Python examples or exercises
Fork the repo → Make your changes → Create a pull request
⚖️ License
Licensed under the MIT License.
✨ Maintained by
Swaroop Moon
GitHub Profile