Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Join our Q&A platform and connect with professionals ready to provide precise answers to your questions in various areas. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

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