A small basic calculator
Project description
xeo-simple-calc
This is my first python library. It is a simple calculator.
How to use
First, install the library
pip install xeo-simple-calc
Next, import it
from xeosimplecalc import *
Commands
add(num1, num2)
Adds two numbers.
subtract(num1, num2)
Subtracts two numbers.
multiply(num1, num2)
Multiplies two numbers.
divide(num1, num2)
Divides two numbers. (returns a float)
exponentiation(num, degree)
Exponentiates a number to a certain degree. (Sorry the English is bad :-))
square_root(num)
Returns the square root of num. (returns a float)
Change Log
0.0.6 (17.06.2020)
- Replaced float_divide() and int_divide() with divide()
- Added exponentiation() and square_root()
- Updated README.md
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for xeo_simple_calc-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b22575d86b20efff392b3f88a70a57fe1ec598da28c2af2ad9bcc0daada2194c |
|
MD5 | eac04a978ddcb338ecade346ead147d8 |
|
BLAKE2b-256 | ec4f275e6968988efafa4ea0aa5387c46a05dd1214dea32fe66108a13403d8fd |