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

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.2.tar.gz (2.0 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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: math_and_points-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 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.2.tar.gz
Algorithm Hash digest
SHA256 636f8aefc6936650dbc5543169f44bf7840f8c4112b82a842d39247c24e494c2
MD5 8ab249e131b22e3f2ac3a51c221d3d4a
BLAKE2b-256 635c3ce718705206ca1b58c52a744bb0454985e00f5bda1096e9edd0e090092a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_and_points-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee956aa87abec797c048793ba669a28db58380416ff69cde52f04ecac2cfb2e1
MD5 00ec2b8b8e489edc709abc3bf2e984e0
BLAKE2b-256 ffd11ad8218ffc4ebe77780f7ace6b534f5b776000b016a30c81ff447c371f8c

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