Skip to main content

Smaths stands for SquareMATH. Algorithm written exclusively in Python and used to simplify square roots

Project description

# Square Root Simplification algorithm

Smaths stands for SquareMATH. Algorithm written exclusively in Python and used to simplify square roots

# How To Use

Firstly, import the spl function from the file (from smath import spl). Then, call the spl() function and parse in a string argument; for example if you want the square root of 125, you would parse in “!125”; note this is using the ! instead of the √ (that char is not on the keyboard). If you want the simplification of 5√125, you would parse “5!125”.

Also note the function returns a string value.

Change Log


0.0.5 (10/31/2020)

-Repaired the √root returning root instead of √root if simplification is not possible

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

smaths-0.0.5.tar.gz (2.4 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