Skip to content

gitikaK/Calculator-with-History

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Calculator with History (Python)

This is a command-line based calculator application written in Python.
It performs basic arithmetic operations and stores the history of calculations in a text file.


๐Ÿ“Œ Features

  • Supports basic operations:
    • Addition (+)
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
  • Accepts inputs in both formats:
    • 2 + 2
    • 2+2
  • Saves calculation history to a file
  • Allows users to:
    • View history
    • Clear history
    • Exit the program
  • Handles invalid inputs and division by zero gracefully

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • File Handling
  • Regular Expressions
  • Command Line Interface (CLI)

About

A simple basic calculator that performs calculations and saves history.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages