Skip to content

Sahil002620Q/PyPlayground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 PyPlayground

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.


📌 What's Inside

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

🛠️ Tech Stack

  • Python 3.x
  • Standard Python libraries (no heavy dependencies)

📁 Project Structure

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

⚙️ Setup & Installation

1. Clone the repository

git clone https://github.com/Sahil002620Q/py-project.git
cd py-project

2. (Optional) Create virtual environment

python -m venv venv

Activate it:

# Windows
venv\Scripts\activate

# Linux / Mac
source venv/bin/activate

▶️ How to Use

Each script runs independently.

🔹 Run any Python file

python filename.py

🧪 Example Usage

▶️ Matrix Program

python matrix.py

▶️ Area & Perimeter Calculator

python area_perimeter.py

▶️ Password Generator

python password.py

▶️ Rock Paper Scissors Game

python rock_paper_scissors.py

▶️ Dice Simulator

python dice.py

▶️ Swap Program

python swap.py

▶️ Text Effects

python text_effects.py

🧠 Purpose of This Repository

  • Improve Python fundamentals
  • Practice logic building
  • Learn problem-solving through small programs
  • Build consistency in coding

🚧 Future Improvements

  • Add GUI versions (Tkinter / Web)
  • Combine scripts into a single menu-based app
  • Add better error handling
  • Improve UI/UX of CLI programs

👨‍💻 Author

Sahil GitHub: https://github.com/Sahil002620Q


⭐ Support

If you find this useful, consider giving it a ⭐ on GitHub!

About

A collection of beginner-to-intermediate Python programs covering logic building, small utilities, and fun mini-projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors