Skip to content

Commit 2d78a97

Browse files
committed
again made a change including changes in all the files
1 parent ea063ae commit 2d78a97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

easyPythonpi/methods/basics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def factors(n:'int')->'int':
4949
factors.append(i)
5050
return factors
5151

52-
def Area_circle(r:'double')->'double': # To find the area of a circle using the radius r
52+
def Area_circle(r:'float')->'float': # To find the area of a circle using the radius r
5353
PI = 3.142
5454
return PI * (r * r)
5555

@@ -153,7 +153,7 @@ def oct2bin(x:'oct')->'bin':
153153
return r
154154

155155
#A method to convert binary input to decimal numbers
156-
def bin2dec(x:'bin')->'dec':
156+
def bin2dec(x:'bin')->'int':
157157
x=list(str(x))
158158
l=len(x)
159159
a=0

0 commit comments

Comments
 (0)