This repository contains a comprehensive collection of my Python practice work, covering fundamental to advanced concepts. It serves as a personal learning archive as well as a reference for revising key programming topics.
- Strengthen core Python programming skills
- Build problem-solving ability
- Practice structured and clean coding
- Prepare for technical interviews and real-world projects
- Variables & Data Types
- Input / Output
- Operators
- Conditional Statements (
if,elif,else) - Loops (
for,while)
- Lists
- Tuples
- Sets
- Dictionaries
- Functions
- Lambda Expressions
- Modules & Packages
- Classes & Objects
- Inheritance
- Polymorphism
- Encapsulation
- Reading & Writing Files
- Working with different file formats
- Try / Except / Finally
- Custom Exceptions
python-practice/
│
├── basics/
├── control_flow/
├── data_structures/
├── functions/
├── oop/
├── file_handling/
├── exceptions/
├── modules/
├── advanced/
└── handle-api/
Each directory contains well-organized Python scripts focused on specific topics.
git clone https://github.com/Ali-Haidar-159/python-playground.gitcd python-practicepython filename.py- Python 3.x installed
- Basic understanding of programming concepts
| Topic | Status |
|---|---|
| Fundamentals | ✅ Completed |
| Control Flow | ✅ Completed |
| Data Structures | ✅ Completed |
| Functions | ✅ Completed |
| OOP | 🔄 In Progress |
| File Handling | 🔄 In Progress |
| Advanced Concepts | ⏳ Upcoming |
- Writing clean and readable code
- Following best practices
- Adding comments for clarity
- Solving small problems regularly
This is primarily a personal learning repository. However, suggestions, improvements, and feedback are always welcome.
- Add more real-world mini projects
- Include problem-solving exercises
- Implement data structures from scratch
- Explore libraries and frameworks
If you find this repository helpful, consider giving it a ⭐ on GitHub!
Ali Haidar
“Consistency is the key to mastering programming.”