Skip to main content

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

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

math_and_points-0.1.1.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.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: math_and_points-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bb566260867f5215ae99bcb35241ffa33dabe556cc058f0d8bf6751a5a901f72
MD5 7ab9133bd2e9d06e3184339de2f62c22
BLAKE2b-256 7509009b0bfec1aac1ce8875a9212697a200052c4a5c629f9e2a9d28f67477d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_and_points-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87c59b1afab37311e6d359bf9fea618ce0747d869c41d704eac6771ba2345930
MD5 087435680eeb8711bd2db4bce272d820
BLAKE2b-256 bf0ad0eff8eac3e2edbe66e669eff831d5aea95ed6aab1c46021516bf61a283f

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