IDNLearn.com provides a collaborative environment for finding and sharing knowledge. Our experts provide timely, comprehensive responses to ensure you have the information you need.

WILL GIVE BRAINLIST TO THE FIRST PERSON TO GET IT RIGHT!
Consider the following code:

x = int(input("Input an integer: "))
if x >= 0:
print("Yay!")
else:
print("Boo!")

It outputs "Yay!" if the value is non-negative and "Boo!" if the value is negative. Change the condition so that it only outputs "Yay!" if the value is non-negative (i.e. zero or positive) AND even.
Group of answer choices

x >= 0 and x % 2 == 1

x >= 0 and x % 2 == 0

x >= 0 or x % 2 == 1

x >= 0 or x % 2 == 0