From 743cd6cc1c0c7f196b311123a8ceeb0579c2337f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A0=95=ED=9B=88?= Date: Thu, 26 Mar 2026 22:58:14 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=EB=BA=84=EC=85=88=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subtract.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 subtract.py diff --git a/subtract.py b/subtract.py new file mode 100644 index 0000000..a5fe12b --- /dev/null +++ b/subtract.py @@ -0,0 +1,5 @@ +def subtract(a, b): + try: + return(float(a) - float(b)) + except ValueError: + return "숫자를 입력하십시오." \ No newline at end of file From 334f0f1638826306396e478cbeedf50ac8873e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A0=95=ED=9B=88?= Date: Thu, 26 Mar 2026 23:06:14 +0900 Subject: [PATCH 2/3] =?UTF-8?q?subtract.py=EB=A5=BC=20src=20=ED=8F=B4?= =?UTF-8?q?=EB=8D=94=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subtract.py => src/subtract.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename subtract.py => src/subtract.py (100%) diff --git a/subtract.py b/src/subtract.py similarity index 100% rename from subtract.py rename to src/subtract.py From 4440599406cdf55188f7cde0cb0659eedb676adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A0=95=ED=9B=88?= Date: Fri, 27 Mar 2026 00:05:00 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EB=B8=8C=EB=9E=9C=EC=B9=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/subtract.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/subtract.py b/src/subtract.py index a5fe12b..d6330a0 100644 --- a/src/subtract.py +++ b/src/subtract.py @@ -2,4 +2,5 @@ def subtract(a, b): try: return(float(a) - float(b)) except ValueError: - return "숫자를 입력하십시오." \ No newline at end of file + return "숫자를 입력하십시오." +# 뺄셈 구현 \ No newline at end of file