wrong ops lol
This commit is contained in:
parent
3fe0457041
commit
82f43697fc
Binary file not shown.
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue