A comprehensive collection of Python exercises, explanations, and projects designed to help learners master Python from Beginner to Advanced.
Unlike ordinary repositories that only provide solutions, this project focuses on learning by solving problems.
🌐 Language: English | فارسی
This repository aims to help developers:
- Learn Python step by step
- Improve problem-solving skills
- Understand Python concepts deeply
- Build practical projects
- Prepare for coding interviews
You can access the content more easily through the links below.
| Row | Title And Link | Status |
|---|---|---|
| 1 | Problem Solving | Completed |
| 1-1 | ✅ | |
| 2-1 | ✅ | |
| 3-1 | ✅ | |
| 4-1 | ✅ | |
| 5-1 | ✅ |
| Row | Title And Link | Status |
|---|---|---|
| 1 | Python Basics | Completed |
| 1-1 | ✅ | |
| 2-1 | ✅ | |
| 3-1 | ✅ | |
| 4-1 | ✅ | |
| 5-1 | ✅ | |
| 6-1 | ✅ | |
| ✦ ✦ ✦ ✦ ✦ | ✦ ✦ ✦ ✦ ✦ | ✦ ✦ ✦ ✦ ✦ |
| 2 | Conditional Statements | ✅ |
| 3 | Loops | ✅ |
| 4 | Functions | ✅ |
| 5 | Strings | ✅ |
| 6 | Lists | ✅ |
| 7 | Tuples | ✅ |
| 8 | Dictionaries | ✅ |
| 9 | Sets | ✅ |
| Row | Title And Link | Status |
|---|---|---|
| 1 | Object-Oriented Programming | ✍️ |
| 2 | List Comprehensions | ⏳ |
| 3 | Modules | ⏳ |
| 4 | File Handling | ⏳ |
| 5 | Exception Handling | ⏳ |
| 6 | Regular Expressions | ⏳ |
- Iterators
- Generators
- Decorators
- Context Managers
- Multithreading
- Multiprocessing
- Async Programming
- Design Patterns
- Calculator
- Todo App
- Expense Tracker
- Password Manager
- Library Management System
- Weather CLI
- Quiz Game
- REST API
- Chat Application
A dedicated section containing Python interview questions from beginner to advanced.
python-roadmap/
│
├── README.md # English
├── README_FA.md # فارسی
├── CONTRIBUTING.md
├── CONTRIBUTING_FA.md
├── LICENSE
├── .gitignore
│
├── 00-Problem-Solving/
│ ├── README.md
│ ├── README_FA.md
│ │
│ ├── 01-What-Is-An-Algorithm.md
│ ├── 02-Algorithm-Writing.md
│ ├── 03-Step-by-Step-Thinking.md
│ └── 04-Practice.md
│
01-Beginner/
└── 01-Basics/
├── README.md
├── fa/
│ └── README.md
│
├── 01-What-Is-Python/
├── 02-Installing-Python/
├── 03-Your-First-Python-Program/
├── 04-Variables/
├── 05-Data-Types/
├── 06-Input-Output/
├── 07-Type-Casting/
└── 08-Operators/
│ │
│ ├── 02-Conditions/
│ ├── 03-Loops/
│ ├── 04-Functions/
│ ├── 05-Strings/
│ ├── 06-Lists/
│ ├── 07-Tuples/
│ ├── 08-Sets/
│ └── 09-Dictionaries/
│
├── 02-Intermediate/
│ ├── README.md
│ ├── README_FA.md
│ │
│ ├── 01-Modules/
│ ├── 02-Files/
│ ├── 03-Exceptions/
│ ├── 04-OOP/
│ ├── 05-Iterators/
│ ├── 06-Generators/
│ ├── 07-Decorators/
│ ├── 08-Regular-Expressions/
│ └── 09-Functional-Programming/
│
├── 03-Advanced/
│ ├── README.md
│ ├── README_FA.md
│ │
│ ├── 01-Multithreading/
│ ├── 02-Multiprocessing/
│ ├── 03-Asyncio/
│ ├── 04-Type-Hinting/
│ ├── 05-Context-Managers/
│ ├── 06-Testing/
│ ├── 07-Packaging/
│ └── 08-Best-Practices/
│
├── 04-Mini-Projects/
│ ├── README.md
│ ├── README_FA.md
│ │
│ ├── Beginner/
│ ├── Intermediate/
│ └── Advanced/
│
└── 05-Interview-Questions/
├── README.md
├── README_FA.md
│
├── 01-Beginner.md
├── 02-Intermediate.md
├── 03-Advanced.md
└── 04-Python-Tricky-Questions.md
Each exercise contains:
- Problem Statement
- Example Input
- Example Output
- Hint
- Solution
- Explanation
- Time Complexity
- Space Complexity
- Related Exercises
| Level | Description |
|---|---|
| 🟢 Beginner | Suitable for beginners |
| 🟡 Intermediate | Requires basic Python knowledge |
| 🔴 Advanced | Challenging problems and real-world concepts |
Contributions are welcome!
If you have ideas for improving this project, feel free to open an Issue or submit a Pull Request.
Please read CONTRIBUTING.md before contributing.
If you find this repository useful, please consider giving it a ⭐ on GitHub.
It motivates me to continue improving this project.
Happy Coding! ❤️