math_and_points library
Una biblioteca para realizar operaciones básicas como suma, resta, multiplicación y división, pasando como parámetros dos o más números. Por otro lado, incluye operaciones con puntos en dos dimensiones como suma, resta, producto punto y la pendiente.
Instalacion
Instala el paquete utilizando 'pip3':
pip3 install math_and_points
Uso basico
Operaciones aritmeticas basicas
from math_and_points import suma,resta,multiplicacion,division
print(suma(1,2,3,4)) #1+2+3+4
print(resta(1,2,3,4)) #1-2-3-4
print(multiplicacion(1,2,3,4)) #1*2*3*4
print(division(1,2,3,4)) #1/2/3/4
Operaciones con puntos
from math_and_points import punto,producto_punto,pendiente,suma_p
puntoA = punto(1,2)
puntoB = punto(3,4)
print(suma_p(PuntoA,puntoB))
print(producto_punto(PuntoA,puntoB))
print(pendiente(PuntoA,puntoB))
Metadata
Release files for math-and-points 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| math_and_points-0.1.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| math_and_points-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / math_and_points-0.1.3.tar.gz
| Download URL | math_and_points-0.1.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e00557f9dae0316659ea5f3d03adc43a9f0689b18e7d46f7c3609812a4df3d0a
|
|
BLAKE2b-256 checksum How to use checksums |
2306399f34bb96d1892d7e21f095fb584822acdfe49514bc07c184a07012d3c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|
Release files / math_and_points-0.1.3-py3-none-any.whl
| Download URL | math_and_points-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5c1f21efb2955201c25de5fcebe8e4bc8b7e98f041ef44b9714ba3adfca64c4
|
|
BLAKE2b-256 checksum How to use checksums |
ad9a64db4d7b6a2ebd05cea14769254455f60bf9fea707835693584e035e05aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|