No project description provided
Project description
Attributes
memory : float Calculator memory
Methods
add(number): Takes the number and adds it to calculator memory subtract(number): Takes the number and subtracts it from calculator memory multiply(number): Takes number from Calculators memory and multiplies it by a given number divide(number): Takes number from Calculators memory and divides it by a given number root(number): Takes number from Calculators memory and takes the root of it by a given number reset(): Resets calculator memory
Code working examples:
from Calculator_TomasSinkevicius import Calculator
Calculator.add(10) 10.0
Calculator.subtract(5) 5.0
Calculator.multiply(12) 60.0
Calculator.divide(10) 6.0
Calculator.root(2) 2.4494
Calculator.reset() 0.0
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
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 calculator_tomas-0.1.0.tar.gz.
File metadata
- Download URL: calculator_tomas-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e90a3f5f0849678441e3c2c693cd23764d25aa205c1886010f06a3a16b1a444
|
|
| MD5 |
33dee9ed79af7cd712ac35037d5796e5
|
|
| BLAKE2b-256 |
84284479081012d24d5c7ce93aeb1b7542a873e7a1eb6eab7f5d606c830d0040
|
File details
Details for the file calculator_tomas-0.1.0-py3-none-any.whl.
File metadata
- Download URL: calculator_tomas-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5bcfe5901f2b2eb13f75cf8e21e3e72ac0cca7e54fc2b4339b6c7d924afd5f
|
|
| MD5 |
7de013ed64345b36a61b383285611bb6
|
|
| BLAKE2b-256 |
606c3c8b54f0bb8fadead8a82c1ecc828e718e2178d45b5b68be874dcd6e3937
|