Skip to content

Commit

Permalink
add error
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed May 15, 2021
1 parent cec24f4 commit 8f22923
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ def add(a: int, b: int) -> int:
return a + b


def sub(a: int, b: int) -> int:
def sub(a: int, b: int) -> None:
return a - b


def div(a: int, b: int) -> int:
if b != 0:
return a // b
else:
return 0

0 comments on commit 8f22923

Please sign in to comment.