This repository contains three beginner-friendly Python projects to help you practice and improve your programming skills. Each project is designed to cover basic concepts of Python, including functions, loops, conditionals, and input handling.
This program is a basic calculator that performs the following operations:
- Addition
- Subtraction
- Multiplication
- Division
- User-friendly interface to select operations.
- Handles invalid inputs gracefully.
- Allows repeated calculations until the user decides to exit.
- Copy the code into a Python file (e.g.,
calculator.py). - Run the script in your Python environment.
- Follow the prompts to select an operation and input numbers.
This program converts temperatures between the following scales:
- Celsius (C)
- Fahrenheit (F)
- Kelvin (K)
- Converts temperatures from one scale to another.
- Supports bidirectional conversions (e.g., Celsius to Fahrenheit and vice versa).
- Prompts the user to continue or quit after each conversion.
- Copy the code into a Python file (e.g.,
temperature_converter.py). - Run the script in your Python environment.
- Enter the input temperature, input scale, and desired output scale when prompted.
This is a simple implementation of the classic "Rock-Paper-Scissors" game where a user plays against the computer.
- Implements the game rules:
- Rock vs Paper -> Paper wins
- Rock vs Scissors -> Rock wins
- Paper vs Scissors -> Scissors wins
- Randomized computer choices for a fair game.
- Option to play multiple rounds until the user decides to quit.
- Copy the code into a Python file (e.g.,
rock_paper_scissors.py). - Run the script in your Python environment.
- Choose your move (Rock, Paper, or Scissors) and see if you can beat the computer!
- Clone the repository:
git clone https://github.com/yourusername/python-beginner-projects.git cd python-beginner-projects