A simpple Pythogoreus theorum calculator!
Project description
Pythoreum
This module can be used to calculate the sides of a right angled triangle using the famous Pythogoreas Theorum. This is a fairly simple and useful module for maths.
Installation:
Windows:
$ pip install Pythoreum
Mac OS or Linux:
$ pip3 install Pythoreum
Importing the Module
Its pretty simple to import the module. You Can import the calculate function in two ways.
First Way:
from Pythoreum import calculate
Second Way:
import Pythoreum
Use Case or How to use it:
The Pythoreum module is desined to recieve any two sides of the right angled triangle we can mention sides a, b or sides b,c or sides c,a and it will calculate the missing side.
Lets take an example where side a = 3 and side b = 4:
We can use the module like this:
from Pythoreum import calculate
# Using the calculate function to calculate the missing side(c)
calculate(a = 3, b = 4)
Output:
a = 3
b = 4
c = 5.0
This is how to use Pythoreum to calculate the missing side of a right angled triangle
NOTE:
This just prints the values and does not return them in the next updates there will be a second function
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
Pythoreum-0.2.1.tar.gz
(2.0 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 Pythoreum-0.2.1.tar.gz.
File metadata
- Download URL: Pythoreum-0.2.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a264af4990f7ac5f5fd72dd329ad8ad909ec56b4aa06fc5a8e25bf83442c3820
|
|
| MD5 |
9682fff74870ba420c828ad3e2b69e95
|
|
| BLAKE2b-256 |
5ebe54ae80a12d1d742a34ba662e0fdd1859550824706ded61fb2a26def58585
|
File details
Details for the file Pythoreum-0.2.1-py3-none-any.whl.
File metadata
- Download URL: Pythoreum-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0923f668b3177f82397d2a66c244a8495d8757c3e7b6c782ec5becc8340d2911
|
|
| MD5 |
3e6996a27b3e3b4847f942a8727495e6
|
|
| BLAKE2b-256 |
deeefa1034fdc73fd58fe578e39f870f60518c59e0036768e2abc9ede6f77c3d
|