# Python Advanced Calculator

# 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

`1+1`

to

`4.3e3*(2/3^5-2)`

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

example:

`$ 4-2 2 $ ans 2 $ ans - 4 -2`

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

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

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.

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

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

why everyone making calculators claiming they are "best"

o nice

There is a bug where if you type #^#^# it will go blank and you can type what ever you want and nothing will happen for example 10^10^10 will break the program

If you dont believe me, use the google calulator on

`10^10^10`

. it will just show up as`infinite`