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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef3b010f3ca26d743a0d1fbe433375d9b4b87ad3811f5aeaa41c705862ff5aae
|
|
| MD5 |
953685dd745fca40559a6f8b1d1d6842
|
|
| BLAKE2b-256 |
d395fea920f8383c43b367d43bbeb7bf586f5e5acfdad2c278641d78d5b7a4e8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
942ec0415864d903dbb51aaaf00101e77cae0225a3b76c2ca4942c8210a88af2
|
|
| MD5 |
532b8af1fd5e612540bf44448afcb252
|
|
| BLAKE2b-256 |
3787b92cc1b144a093b9f05b89658685e5740f45b8227d6575ffc3bbfd961bc9
|