Skip to content

Commit 3a012d4

Browse files
authored
Merge pull request #14 from Dev-MAMOKEY/Feat/subtract#10
Feat/subtract#10
2 parents 13207e5 + 334f0f1 commit 3a012d4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/subtract.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def subtract(a, b):
2+
try:
3+
return(float(a) - float(b))
4+
except ValueError:
5+
return "숫자를 입력하십시오."

0 commit comments

Comments
 (0)