Share your repls and programming experiences

← Back to all posts
Python Advanced Calculator
RhinoRunner (866)

Python Advanced Calculator (PAC)

created by @ReplitDevTeam

Say goodbye to the lame old 4-function calculator, and say hello to the brand-new Python Advanced Calculator!

Just type in anything from
and the PAC will give you your results!
(by the way the answer is -8564.609053497943)

You can also type:
abs for abolute value
sqrt for square root
area to calculate the area of a circle
pi for pi, you can also use it in equations
help for help
clear to clear the terminal
show to show all previous equations
how many to see how many equations you have entered
var can be used to assign variables (more on that later)

ans use this to see/use last answer

$ 4-2
$ ans
$ ans - 4

You can also assign and use up to 3 variables (x,y,z):

$ var
Variable name (x,y,z) > x
Value > 5
$ x + 5

Also, try and find those sneaky easter eggs!

Give us feedback if anything is wrong/needs improvement, or if you want us to add anything.

FlaminHotValdez (694)

Quoting Coder100's comment on my post: ah yes, math

RhinoRunner (866)

@FlaminHotValdez well, I saw the opportunity for a meme and took it.

FlaminHotValdez (694)

@RhinoRunner ...plz fix so far out of the calculators we've had recently mine is the only one that doesn't have that bug and isn't [number][number]

RhinoRunner (866)

@FlaminHotValdez I have no idea why it gives that number...

RhinoRunner (866)

@FlaminHotValdez Nevertheless, I fixed the error (in a dumb-ish way)

elif equation.lower() in ['.1+.2','0.1+0.2','.1+0.2','0.1+.2']:
    return .3
alanchen12 (32)

why everyone making calculators claiming they are "best"

RhinoRunner (866)

@alanchen12 @ReplitDevTeam made this a while back, I posted it because I saw all of the calculator posts and decided to join in.