A collection of beginner-to-intermediate Python programs covering logic building, small utilities, and fun mini-projects.
This repository is designed to strengthen core programming skills through hands-on practice with real code examples.
This project includes multiple Python scripts such as:
- 🔢 Matrix operations
- 📐 Area & perimeter calculators
- 🔐 Password generator / simulator
- ✊ Rock Paper Scissors game
- 🍵 Tea-making algorithm (logic-based flow)
- 🔁 Swapping numbers techniques
- 🎲 Dice simulator
- 💣 Fun scripts (experimental / logic-based)
- 🎨 Text effects using Python
- Python 3.x
- Standard Python libraries (no heavy dependencies)
pyplayground/
│── matrix.py
│── area_perimeter.py
│── password.py
│── rock_paper_scissors.py
│── dice.py
│── swap.py
│── text_effects.py
│── tea_algo.py
│── (more scripts)
│── README.md
git clone https://github.com/Sahil002620Q/py-project.git
cd py-projectpython -m venv venvActivate it:
# Windows
venv\Scripts\activate
# Linux / Mac
source venv/bin/activateEach script runs independently.
python filename.pypython matrix.pypython area_perimeter.pypython password.pypython rock_paper_scissors.pypython dice.pypython swap.pypython text_effects.py- Improve Python fundamentals
- Practice logic building
- Learn problem-solving through small programs
- Build consistency in coding
- Add GUI versions (Tkinter / Web)
- Combine scripts into a single menu-based app
- Add better error handling
- Improve UI/UX of CLI programs
Sahil GitHub: https://github.com/Sahil002620Q
If you find this useful, consider giving it a ⭐ on GitHub!