Q. What will be the output of the following code snippet?
Code:
def check(a):
print("Even" if a % 2 == 0 else "Odd")
check(12)
β
Correct Answer: (A)
Even
def check(a):
print("Even" if a % 2 == 0 else "Odd")
check(12)
You must be Logged in to update hint/solution