Skip to content

Gebrehiwot-Tesfaye/Python-simple-projects-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Beginner Projects

Welcome to the Python Beginner Projects collection! This repository contains a variety of small Python projects designed to help you practice and master fundamental programming concepts. Each project is self-contained and focuses on a specific problem or game, making it perfect for beginners and those looking to sharpen their Python skills.

Table of Contents


ATM Simulator

A simple ATM simulation that allows users to check their balance, deposit, and withdraw money with error handling for invalid operations.

Cows and Bulls Game

A classic code-breaking game where you guess a 4-digit number with unique digits. The program gives feedback in terms of "cows" and "bulls" for each guess.

Currency Converter

A command-line tool to convert amounts between USD, EUR, and CAD. It validates user input and ensures only supported currencies are used.

Dice Rolling Game

Simulates rolling two dice. The user can roll as many times as they want and see the results.

Number Guessing Game

The computer randomly selects a number between 1 and 100, and you try to guess it. The program provides hints if your guess is too high or too low.

Password Generator

Generates strong passwords based on user preferences (length, inclusion of uppercase, numbers, and special characters).

Password Strength Checker

Checks the strength of a given password based on length, use of uppercase/lowercase letters, numbers, and special characters.

Pig Dice Game

A two-player dice game where players take turns to roll a die and accumulate points, but rolling a 1 ends the turn with no points.

QR Code Generator

Generates a QR code from user-provided text or URL and saves it as an image file.

Quiz Game

A multiple-choice quiz game that shuffles questions and keeps score. Uses colored output for better user experience.

Rock Paper Scissors

Play the classic game against the computer, with emoji feedback for each choice.

Simple Text Editor

A basic text editor that allows you to read, write, and save text files from the command line.

Slot Machine

A slot machine simulation where you can bet, spin, and try your luck to win more money.

Tic Tac Toe

A two-player Tic Tac Toe game with colored output for X and O, played in the terminal.

Todo List

A command-line todo list manager to add, view, and remove tasks.

Word Guessing Game

A hangman-style game where you guess letters to reveal a secret word loaded from a file.


Requirements

Some projects require external libraries. Install all dependencies with:

pip install -r requirements.txt

requirements.txt:

  • qrcode (for QR code generation)
  • termcolor (for colored terminal output)

How to Run

  1. Clone or download this repository.
  2. Install the requirements as shown above.
  3. Run any project using Python:
python <project_file.py>

For example, to play the number guessing game:

python number_guessing_game.py

License

This project is open source and free to use for learning and personal development.


Feel free to explore, modify, and enhance these projects as you continue your Python journey!

About

all about learning python projects and logics through projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages