Skip to content

mcbabo/webmath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a78e529 · Nov 6, 2021

History

48 Commits
Nov 6, 2021
Nov 4, 2021
Nov 6, 2021
Nov 4, 2021
Nov 6, 2021
Nov 6, 2021

Repository files navigation

WEBMATH

Online Math Calculator

Shoutout to BobDotCom#4428 for his help

My Discord

Bob's Discord

Instructions

Install:

pip install web-math

Information:

calculate() takes one required and one optional argument
calculate([TASK], [PRECISION])
TASK = str
PRECISION = int

Run Program:

# import webmath and asyncio
import asyncio
from web_math import webmath

# make def
async def bread():
    output = await webmath.calculate("3+3*3-sqrt(pi)", 4)
    print(output)

# run def
asyncio.run(bread())

OUTPUT:

# with 4 digit precision
10.23
# without digit precision
10.227546149094485

Ride the space skyway home to 80s Miami

Releases

No releases published

Packages

No packages published

Languages