Skip to content

mcbabo/webmath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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