Skip to content

Commit

Permalink
Update functions_burak_talha_memis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Buraktalhaa committed Nov 16, 2023
1 parent 58845e1 commit dc07dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Week03/functions_burak_talha_memis.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def custom_equation(x: int = 0, y: int = 0 ,/,a: int = 1,b: int = 1 ,*, c: int =
:param c: fifth integer with default value 1 (keyword-only)
:raises TypeError: if x, y, a, b or c is not an integer
"""
if not isinstance(x, int):
if not isinstance(x, int):
raise TypeError("x must be an integer")
if not isinstance(y, int):
raise TypeError("y must be an integer")
Expand Down

0 comments on commit dc07dd2

Please sign in to comment.