Skip to main content

Operaciones básicas con dos o más números y, por otra parte, operaciones con puntos en dos dimensiones.

Project description

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))

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

math_and_points-0.1.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

math_and_points-0.1.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file math_and_points-0.1.3.tar.gz.

File metadata

  • Download URL: math_and_points-0.1.3.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

Hashes for math_and_points-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e00557f9dae0316659ea5f3d03adc43a9f0689b18e7d46f7c3609812a4df3d0a
MD5 ce177079e7e973be2a2e0f7e41be789f
BLAKE2b-256 2306399f34bb96d1892d7e21f095fb584822acdfe49514bc07c184a07012d3c0

See more details on using hashes here.

File details

Details for the file math_and_points-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for math_and_points-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c5c1f21efb2955201c25de5fcebe8e4bc8b7e98f041ef44b9714ba3adfca64c4
MD5 b008fd0e80c45263dfc0f1f349528c40
BLAKE2b-256 ad9a64db4d7b6a2ebd05cea14769254455f60bf9fea707835693584e035e05aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page