From a13a1295a1a6d859a0bc74bb2ff0a8a5e493f1de Mon Sep 17 00:00:00 2001 From: Youngjin Han Date: Tue, 2 Jun 2020 00:35:00 +0900 Subject: [PATCH] Learning Circle : python #7 - modify error log --- youngjin.han/python-the-hard-way/calc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youngjin.han/python-the-hard-way/calc.py b/youngjin.han/python-the-hard-way/calc.py index 0094023..5bfd45b 100644 --- a/youngjin.han/python-the-hard-way/calc.py +++ b/youngjin.han/python-the-hard-way/calc.py @@ -25,7 +25,7 @@ def input_and_calculate_one_line(): l_s_result += f"{l_result}" except: l_s_result = f"input error : input string = {l_input_string}" - print("Only numbers and spaces") + print(l_s_result) return l_s_result