Operaciones basicas con dos o mas numeros, y por otra partes operaciones con puntos en dos dimensiones
Project description
math_and_points library
Una biblioteca para realizar operaciones basicas como suma,resta,multiplicacion y division, pasando como parametros dos o mas numeros. Por otro lado 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
rom 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))
Project details
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 math_and_points-0.1.0.tar.gz.
File metadata
- Download URL: math_and_points-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa199147b87c379798b4e2a954d151db4bdc474d519f98cfd0beac160aa469cc
|
|
| MD5 |
ecbef6d78727719a3a7e2aed0777e9cd
|
|
| BLAKE2b-256 |
fbddb83cede1c595d46c4ba66bdeefa49f0bfcb57dbd30e64130dc4662af2ccc
|
File details
Details for the file math_and_points-0.1.0-py3-none-any.whl.
File metadata
- Download URL: math_and_points-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c09e7fdeeb7c6487de50b17cb69a45d83815a6204d0d65ec158d73a4e385d53
|
|
| MD5 |
bcd0d4df84c0825277ae105080c70695
|
|
| BLAKE2b-256 |
e29f7b4c3e91ca47f857fa134c57ae5cd70ef5ba5c5b5594c9fd72ca05d16623
|