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.
- ATM Simulator
- Cows and Bulls Game
- Currency Converter
- Dice Rolling Game
- Number Guessing Game
- Password Generator
- Password Strength Checker
- Pig Dice Game
- QR Code Generator
- Quiz Game
- Rock Paper Scissors
- Simple Text Editor
- Slot Machine
- Tic Tac Toe
- Todo List
- Word Guessing Game
- Requirements
- How to Run
A simple ATM simulation that allows users to check their balance, deposit, and withdraw money with error handling for invalid operations.
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.
A command-line tool to convert amounts between USD, EUR, and CAD. It validates user input and ensures only supported currencies are used.
Simulates rolling two dice. The user can roll as many times as they want and see the results.
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.
Generates strong passwords based on user preferences (length, inclusion of uppercase, numbers, and special characters).
Checks the strength of a given password based on length, use of uppercase/lowercase letters, numbers, and special characters.
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.
Generates a QR code from user-provided text or URL and saves it as an image file.
A multiple-choice quiz game that shuffles questions and keeps score. Uses colored output for better user experience.
Play the classic game against the computer, with emoji feedback for each choice.
A basic text editor that allows you to read, write, and save text files from the command line.
A slot machine simulation where you can bet, spin, and try your luck to win more money.
A two-player Tic Tac Toe game with colored output for X and O, played in the terminal.
A command-line todo list manager to add, view, and remove tasks.
A hangman-style game where you guess letters to reveal a secret word loaded from a file.
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)
- Clone or download this repository.
- Install the requirements as shown above.
- Run any project using Python:
python <project_file.py>
For example, to play the number guessing game:
python number_guessing_game.py
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!