Skip to content

Dtanisha/Calculator-Python-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Calculator-Python

This repository contains a basic Python calculator program for performing simple arithmetic operations. Users input an operator (+, -, *, /) and two numbers, and the program calculates and displays the result rounded to three decimal places. If an invalid operator is entered, the program provides a clear error message.

Key Features:

  • Supports addition, subtraction, multiplication, and division.
  • Handles invalid operator inputs gracefully.
  • Accepts floating-point numbers for precise calculations.
  • Outputs results rounded to three decimal places.

Ideal for beginners learning Python or anyone needing a straightforward calculator tool.

About

This repository contains a basic Python calculator program for performing simple arithmetic operations. Users input an operator (+, -, *, /) and two numbers, and the program calculates and displays the result rounded to three decimal places. If an invalid operator is entered, the program provides a clear error message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%