diff --git a/add.py b/add.py index 1e1aeec..256b9c3 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,5 @@ def add(x: int, y: int) -> int: - #if not isinstance(x,int) or not isinstance(y,int): - # raise TypeError("Both arguments must be integers") + if not isinstance(x,int) or not isinstance(y,int): + raise TypeError("Both arguments must be integers") """Returns the sum of two integers.""" - return x + y \ No newline at end of file + return x + y