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.2/

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.3.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.3.tar.gz.

File metadata

File hashes

Hashes for CalculatorTuringAjdin_AjdinSalihovic-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3763329f8f9dcaa3a59778ef87d84a2753586651738731982e933d58fe32e1f3
MD5 d197d0dbe3eac2004dbdbac17068931e
BLAKE2b-256 d7e9012a2e492be0354f6c3f300f378f9d8ac8d3d3998065cad33cfb90986165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CalculatorTuringAjdin_AjdinSalihovic-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b1a36395d822b9bd583d5e36aff66e6e756748ca703b233872e56d6050b1c9c
MD5 60afedb7bae07fd9f65f6e748fbe57c0
BLAKE2b-256 8c90abbddd26948d1adec831401c46f2f297994e4cf193d9782577970f84d0d4

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