missing variable names oops
This commit is contained in:
parent
3915d04cfe
commit
3fe0457041
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 * (ra*2))
|
||||
return "the area of your circle is {} units".format(3.14 * (r*2))
|
||||
|
||||
def cOP(self, t, i):
|
||||
r = fr[t](i)
|
||||
return "the circumference of your circle is {} units".format(3.14*(ra*ra))
|
||||
return "the circumference of your circle is {} units".format(3.14*(r*r))
|
||||
|
||||
ops = {
|
||||
'r': rOP,
|
||||
|
|
Loading…
Reference in New Issue