From 29350559e99589f168e4c5b9aa11f72f1f49e66c Mon Sep 17 00:00:00 2001 From: naveesh1 Date: Thu, 31 Jul 2025 10:05:27 +0530 Subject: [PATCH] q1.py corrected file --- problems/easy/easy_q1.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/problems/easy/easy_q1.py b/problems/easy/easy_q1.py index 339673d..3045837 100644 --- a/problems/easy/easy_q1.py +++ b/problems/easy/easy_q1.py @@ -7,15 +7,4 @@ else: print(f"{num} is Even") except ValueError: - print("Enter only INTEGER that is ONLY NUMBER") - - -num = int(input("Enter a number: ")) - -if (num %2) == 0: - print("{0} is even".format(num)) -else: - - print(f"{num} is Even") - - \ No newline at end of file + print("Enter only INTEGER that is ONLY NUMBER") \ No newline at end of file