From 40f51658d8480568d8a65f6f14ee35d4c5972413 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Mon, 4 Dec 2023 12:26:31 -0500 Subject: [PATCH] Print blank line after printing error message --- calculator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calculator.py b/calculator.py index 342cc7c..8f9cca5 100644 --- a/calculator.py +++ b/calculator.py @@ -69,6 +69,8 @@ def print_error(error_code): case 6: print("Invalid expression.") + print("") + return def check_errors(expr):