wrong ops lol

This commit is contained in:
lickthecheese 2020-02-01 10:55:21 -05:00
parent 3fe0457041
commit 82f43697fc
2 changed files with 2 additions and 2 deletions

View File

@ -48,11 +48,11 @@ def dOP(self, t, i):
def aOP(self, t, i):
r = fr[t](i)
return "the area of your circle is {} units".format(3.14 * (r*2))
return "the area of your circle is {} units".format(3.14 * (r*r))
def cOP(self, t, i):
r = fr[t](i)
return "the circumference of your circle is {} units".format(3.14*(r*r))
return "the circumference of your circle is {} units".format(3.14*(r*2))
ops = {
'r': rOP,