This repository contains all the Python programs I have written and practiced while learning the language.
It covers basic to intermediate concepts and serves as a reference for revision and future projects.
The repository is organized topic-wise for easy navigation:
Basics → Programs on variables, data types, operators, input/output
Control Flow → If-else, loops, nested conditions
Functions → User-defined functions, recursion, built-in functions
Data Structures → Lists, tuples, sets, dictionaries, stacks, queues
File Handling → Reading, writing, and appending files
OOP → Classes, objects, inheritance, polymorphism
Modules & Libraries → Practice with Python modules
Miscellaneous → Small projects, problem-solving codes
python filename.py
To practice Python concepts step by step
To maintain a record of all programs I’ve written while learning
To help beginners understand Python with simple examples
Python 3.x
Any IDE or text editor (VS Code, PyCharm, or even IDLE)
This is my personal learning repo, but if you have suggestions or improvements, feel free to open an issue or a pull request!
This repo is continuously updated as I keep learning new Python concepts. Stay tuned for more programs 🚀