A collection of simple Python programs and mini games created while learning Python.
binary_search.py— Binary searchlinear_search.py— Linear searchgcd.py— Finds GCD using recursion
factorial_recursion.py— Factorial using recursionrecursion.py— Basic recursion examples
prime_number.py— Checks if a number is prime
menu_driven.py— Simple menu-driven programmenu_driven1.py— Menu-based operations
guessing_game.py— Number guessing gamesnake_game.py— Simple Snake Game
hello_world.py— Basic Python introduction
- Variables and data types
- Input and output
- Conditions and loops
- Functions
- Recursion
- Lists
- Searching
- Basic problem solving
- Mini game development
Make sure Python 3 is installed.
python3 --versionClone the repository:
git clone <repository-url>
cd <repository-name>Run a program:
python3 filename.pyExample:
python3 hello_world.pyThese 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.
- Learn OOP
- Practice DSA
- Build more mini games
- Learn Python libraries
- Create bigger projects
Raj Sharma BCA Student | Learning Python, DSA & Software Development
⭐ Feel free to explore the repository and give it a star!