5.0k views
3 votes
What is the output of this program?

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

User Evelie
by
6.6k points

1 Answer

5 votes

All of the conditions of the elif statement are true. numA does equal 2 and numB does equal 3.

The output of this program is no.

User MikeTV
by
6.2k points