Skip to main content

Calculator package!

Project description

Calculator

Installation

Use the command to install package.

pip install sprint1

Usage example

import sprint1

# create instance
cal = sprint1.Calculator()
# method resets memory
cal.reset()

# addition command
cal.add(42)

#division command
cal.sub(6)

#n root command, n is the brakets
print(cal.root(2))

# multiplication
print(cal.mul(4))

#division
print(cal.div(8))

#print memory
print(cal.memory)

License

MIT

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

sprint1-0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

sprint1-0.2-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sprint1-0.2.tar.gz.

File metadata

  • Download URL: sprint1-0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for sprint1-0.2.tar.gz
Algorithm Hash digest
SHA256 ef3b010f3ca26d743a0d1fbe433375d9b4b87ad3811f5aeaa41c705862ff5aae
MD5 953685dd745fca40559a6f8b1d1d6842
BLAKE2b-256 d395fea920f8383c43b367d43bbeb7bf586f5e5acfdad2c278641d78d5b7a4e8

See more details on using hashes here.

File details

Details for the file sprint1-0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: sprint1-0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for sprint1-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 942ec0415864d903dbb51aaaf00101e77cae0225a3b76c2ca4942c8210a88af2
MD5 532b8af1fd5e612540bf44448afcb252
BLAKE2b-256 3787b92cc1b144a093b9f05b89658685e5740f45b8227d6575ffc3bbfd961bc9

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