Skip to content

Mkhambe234/python-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

python-assignment

Plp academy week 1 python assignment

Basic Calculator Program

A simple Python calculator that performs basic arithmetic operations.

What it does

  • Takes two numbers from the user
  • Performs addition (+), subtraction (-), multiplication (*), or division (/)
  • Shows the result

How to use

  1. Run the program:

    python calculator.py
  2. Enter your numbers and choose an operation when prompted

Example

Enter the first number: 20
Enter the second number: 5
Choose an operation (+, -, *, /): +
Result: 20 + 5 = 25

Features

  • Works with decimal numbers
  • Prevents division by zero
  • Simple and easy to use

About

Plp academy week 1 python assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages