diff --git a/problems/easy/easy_q1.py b/problems/easy/easy_q1.py index 3660ade..adf9762 100644 --- a/problems/easy/easy_q1.py +++ b/problems/easy/easy_q1.py @@ -1,10 +1,8 @@ # Check Even or Odd: Write a program to check if a given number is even or odd. num = int(input("Enter a number: ")) - - - if (num % 2) == 0: + print("{0} is Even".format(num)) else: print("{0} is Odd".format(num))