Code Monkey home page Code Monkey logo

basic-calculator's Introduction

Basic Calculator Application

A calculator is a utility device that performs arithmetic operations on numbers. The simplest calculators can do only addition, subtraction, multiplication, and division. More sophisticated calculators can handle exponential operations, roots, logarithms, trigonometric functions, and hyperbolic functions.

About:

It is a basic mathematical calculator program that is developed in python. Python version is 3.x. It performs Addition, Subtraction, Multiplication and Division on two numbers.


Documentation

Getting Started:

  • This program can run on both Windows and Linux operating system by using pycharm, anaconda 3 or all other python editors with the python version 3.x
  • This program is developed by python 3.x.
  • It performs Addition, Subtraction, Multiplication and Division only for two numbers.
  • It is more secure which means you may not enter other anything except the numerical values.
  • It is more relevant and easy to use for an user.

Problem Statement:

Create a simple calculator which can perform basic arithmetic operations like addition, subtraction, multiplication or division depending upon the user input.

Approach:

  • User may choose the desired operation. Options 1, 2, 3 and 4 will be considered valid.
  • Two numbers are taken as input and an if…elif…else branching is used to execute a particular section.
  • Using functions add(), subtract(), multiply() and divide(), we evaluate respective operations.

Takeaways:

  • Understanding of Python Functions
  • Understanding of Python Functions Arguments
  • Understanding User-defined Functions

basic-calculator's People

Contributors

agyeyamishra avatar walkerowen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.