Skip to main content

Basic math functions

Project description

This is a library with basic math functions, including adding two numbers, getting the value of pi, converting fahrenheit to celsius, converting celsius to fahrenheit, and much more!

Install via pip

`bash pip install basicmathfunctions `

Functions

`python add_two_numbers(number1, number2) ` - Add two numbers

`python subtract_two_numbers(number1, number2) ` - Subtract two numbers

`python multiply_two_numbers(number1, number2) ` - Multiply two numbers

`python divide_two_numbers(number1, number2) ` - Divide two numbers

`python pi() ` - Get value of pi (to 4 decimal places)

`python the_power_of(number, power) ` - Get a number to the power of another number

`python sqrt(number) ` - Get the square root of a number

`python f_to_c(temperature) ` - Convert fahrenheit to celsius

`python c_to_f(temperature) ` - Convert celsius to fahrenheit

Change Log

0.0.1 (4/28/2021)

  • First Release

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

basicmathfunctions-0.0.55.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

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