Skip to content

About

A basic Python calculator script

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Simple Python Calculator

This is a basic Python script that performs:

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Floor Division
  • Modulus (Remainder)
  • Power (a^b)

How to Use

  1. Run the script using any Python interpreter.
  2. Enter two numbers when prompted.
  3. Get all arithmetic operation results in one go!

File

  • calculator.py: The main calculator script.

Example Output

  • enter first number : 10
  • enter second number : 3
  • Addition: 13.0
  • Subtraction: 7.0
  • Multiplication: 30.0
  • Division: 3.3333333333333335
  • Floor Division: 3.0
  • Remainder (Modulo): 1.0
  • Power (a^b): 1000.0

About

A basic Python calculator script

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages