Skip to main content

An simple calculator package

Project description

A simple calculator package

Calculator has memory inside. So you just have to do operations having this in mind. For exmaple if 10 is currently in memory, adding 2 will result in 12. When creating new Calculator instance you can initialize starting value.

install:

pip install kanina

usage:

import kanina
calc = kanina.calculator.Calculator()
calc.add(10)
calc.sub(5)
calc.mult(2)
calc.div(10)
calc.pow(2)
calc.root(2)
print(calt.cval())
calc.reset()

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

kanina-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

kanina-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file kanina-0.0.1.tar.gz.

File metadata

  • Download URL: kanina-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for kanina-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7d034c02cc7b672a0630358dd97cefbc38c7548eae23709febe2689217abcfb2
MD5 37a7665d9efe919fd2c2ed240cabae83
BLAKE2b-256 af09f7b16c88b604ab2b57b5f33e468ba16d03e9173f7edc82eb00b8795061b8

See more details on using hashes here.

File details

Details for the file kanina-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kanina-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for kanina-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 370a26803e894bdf87388a7834e7814eeacc1334f0db05a0deb9c83f9638cf6f
MD5 ab591ca0f7c906b7cc2e603989cf31e0
BLAKE2b-256 a5442d30ab76d8ba791f9d59dea22f9b2be1eb13c92e6d91d3ff5df0d37e0f21

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