Skip to main content

Python calculator for Turing college

Project description

Calculator with Python

This Python Calculator is made for the Python Mastery Module with Turing college.

What I have done with this calculator is add:

  1. Adding
  2. Subtracting
  3. Multiplication
  4. Division
  5. Takes (n) root of a number
  6. Reset memory

When you run the file under the src folder, you will be asked to add first, and then the 2nd number. The loop will continue to ask if you would like to get another calculation until you choose not to continue, then it exists. The only difference is the 6th Reset memory. Reset memory just resets our memory and that is it.

Tests - tests are made for all of the above except the 6th one which resets memory. The tests are simply made to make sure that everything works as it should.

This calculator can be installed with ip on: https://pypi.org/project/CalculatorTuringAjdin-AjdinSalihovic/0.0.3/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CalculatorTuringAjdin_AjdinSalihovic-0.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file CalculatorTuringAjdin_AjdinSalihovic-0.0.4.tar.gz.

File metadata

File hashes

Hashes for CalculatorTuringAjdin_AjdinSalihovic-0.0.4.tar.gz
Algorithm Hash digest
SHA256 63653ec4fdd6723c5239c1d5cb6eac120c00a8d569158ba35dd2fe6b2d54f435
MD5 f30698fb0788ec32bd1fc6147af448e9
BLAKE2b-256 2ced25eb3c6785c3b2c5e90d3b958eecab7a8d56c8038028933581ca4955a9f3

See more details on using hashes here.

File details

Details for the file CalculatorTuringAjdin_AjdinSalihovic-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for CalculatorTuringAjdin_AjdinSalihovic-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20d221f7e2149e17358233cf996c1286f3378db0986beb2033d868bb7a516b63
MD5 27cf12fd18a53e0e4cfb606b0cd6d903
BLAKE2b-256 ea30eb1146fa89a207e6fc3ef14d136fd922e402a08ee5c77f126d26e27c16a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page