Skip to content

Repository files navigation

🐍 Python Basics and Mini Games

A collection of simple Python programs and mini games created while learning Python.

📂 Programs Included

🔎 Algorithms

  • binary_search.py — Binary search
  • linear_search.py — Linear search
  • gcd.py — Finds GCD using recursion

🔁 Recursion

  • factorial_recursion.py — Factorial using recursion
  • recursion.py — Basic recursion examples

🔢 Number Programs

  • prime_number.py — Checks if a number is prime

📋 Menu Programs

  • menu_driven.py — Simple menu-driven program
  • menu_driven1.py — Menu-based operations

🎮 Mini Games

  • guessing_game.py — Number guessing game
  • snake_game.py — Simple Snake Game

🖥️ Basics

  • hello_world.py — Basic Python introduction

🧠 Concepts Practiced

  • Variables and data types
  • Input and output
  • Conditions and loops
  • Functions
  • Recursion
  • Lists
  • Searching
  • Basic problem solving
  • Mini game development

🚀 How to Run

Make sure Python 3 is installed.

python3 --version

Clone the repository:

git clone <repository-url>
cd <repository-name>

Run a program:

python3 filename.py

Example:

python3 hello_world.py

📈 Learning Journey

These programs show my progress in learning Python, from basic programs to recursion, algorithms, and simple games.

More projects will be added as I continue learning.

🔮 Future Plans

  • Learn OOP
  • Practice DSA
  • Build more mini games
  • Learn Python libraries
  • Create bigger projects

👨‍💻 Author

Raj Sharma BCA Student | Learning Python, DSA & Software Development

⭐ Feel free to explore the repository and give it a star!

About

Basic Python practice codes

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages