From 683d083800ff34133e96a6e3b522659cf08a3f0b Mon Sep 17 00:00:00 2001 From: Shakti Singh Date: Sun, 17 Nov 2024 15:31:55 +0530 Subject: [PATCH] changed calculator result display time to 5 secs --- projects/Calculator/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/Calculator/main.py b/projects/Calculator/main.py index 062d54bb..2b04c7af 100644 --- a/projects/Calculator/main.py +++ b/projects/Calculator/main.py @@ -187,5 +187,6 @@ def binomial(num): print("Sorry, invalid option!") os.system("cls||clear") print(f"The answer is {res}") - time.sleep(2) + print("Waiting for 5 seconds before next prompt window") + time.sleep(5) os.system("cls||clear")