Skip to content

Simple Python Calculator – A basic calculator program that takes two numbers as input and performs addition, subtraction, multiplication, or division (with division-by-zero handling).

Notifications You must be signed in to change notification settings

YUKTI0807/mini-python-projects

Repository files navigation

mini-python-projects

1.Simple Calculator

  • This is a basic Python program where:
  • You enter two numbers
  • Choose an operator (+ , - , * , /)
  • The program calculates and shows the result
  • If you try to divide by zero, it shows an error message

    📂 Project File

You can find the main Python file here:
Project1.py

image

2.Number Guessing Game

  • This is a simple Python program where:

  • The computer picks a random number between 1 and 100

  • You keep guessing until you get it right

  • It tells you if your guess is Too High or Too Low

  • At the end, it shows how many attempts you took

    image

3.Basic To-Do List (Console App)

  • This is a simple Python To-Do List app that runs in the console.

  • You can Add, View, and Delete tasks

  • Tasks are stored in a list while the program is running

  • Type exit to close the program

  • (Extra challenge) You can improve it by saving tasks to a file so they stay even after closing

    image

4.Unit Converter

  • A simple Python program to convert between:

  • Temperature → °C ↔ °F

  • Weight → kg ↔ lbs

  • Distance → km ↔ miles

  • Just select what you want to convert, enter the value, and get the result instantly.

    Screenshot 2025-09-19 201351

5.Digital Clock

  • A simple Python Digital Clock built with Tkinter.

  • Shows live time in HH:MM:SS AM/PM format

  • Displays current date

  • Updates automatically every second

    image

6.Quiz Game

  • A simple Python Quiz Game built using dictionaries and loops.
  • Stores questions and multiple-choice answers in a dictionary.
  • Asks questions one by one and checks if the user's answer is correct.
  • Keeps track of the user's score throughout the game.
  • Displays the final score at the end of the quiz.
image

7.Mini Chatbot

  • A basic Python chatbot using dictionaries and conditional logic.

  • Stores questions & responses in a dictionary

  • Matches user input to keys and returns the corresponding response

  • Handles unknown inputs with a default message

  • Can be expanded with more responses or NLP libraries for smarter replies

    image

8.Password Generator

  • A simple Python Password Generator built using the random and string modules.

  • Asks the user for the desired password length

  • Generates a password using a combination of letters, digits, and symbols

  • Gives the user the choice of password strength (weak, medium, strong)

  • Displays the generated password

  • Extra challenge: Add an option to copy the password automatically to the clipboard for easy use.

    image

About

Simple Python Calculator – A basic calculator program that takes two numbers as input and performs addition, subtraction, multiplication, or division (with division-by-zero handling).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published