Skip to content

Commit 9a49bbb

Browse files
authored
Update functions_beyza_sungar.py
1 parent aeb1cca commit 9a49bbb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Week03/functions_beyza_sungar.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
def custom_equation(x: int =0, y:int=0,/, a: int=1, b:int =1,*,c:int = 1) ->float:
44
'''
55
This function returns x to the power of a plus y to the power of b divided by c,
6-
param x is the first number
7-
param y is the second number
8-
param a is the third number
9-
param b is the fourth number
10-
param c is the fifth number
6+
:param x : is the first number
7+
:param y : is the second number
8+
:param a : is the third number
9+
:param b : is the fourth number
10+
:param c : is the fifth number
11+
:return : As a floating-point number.
12+
1113
'''
1214
return float((x**a + y**b)/c)
1315

0 commit comments

Comments
 (0)