Connect with a knowledgeable community and get your questions answered on IDNLearn.com. Get accurate and comprehensive answers from our network of experienced professionals.

What is the output of this program?

numA = 2
numB = 3
if numA == 2 or numB == 2:
print("yes")
elif numA == 2 and numB == 3:
print("no")
Output:




PLEASE HELP ME PLEASE


Sagot :

Since the compiler reads top down, it should print “yesno” because they are both true

Answer: output is yes

Step-by-step explanation: