We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea063ae commit 2d78a97Copy full SHA for 2d78a97
1 file changed
easyPythonpi/methods/basics.py
@@ -49,7 +49,7 @@ def factors(n:'int')->'int':
49
factors.append(i)
50
return factors
51
52
-def Area_circle(r:'double')->'double': # To find the area of a circle using the radius r
+def Area_circle(r:'float')->'float': # To find the area of a circle using the radius r
53
PI = 3.142
54
return PI * (r * r)
55
@@ -153,7 +153,7 @@ def oct2bin(x:'oct')->'bin':
153
return r
154
155
#A method to convert binary input to decimal numbers
156
-def bin2dec(x:'bin')->'dec':
+def bin2dec(x:'bin')->'int':
157
x=list(str(x))
158
l=len(x)
159
a=0
0 commit comments