KnowledgeBoat Logo
|

Informatics Practices

Give the output of the following:

print (10 != 9 and 20 >= 20) 

Python Control Flow

2 Likes

Answer

True

Working

The expression 10 != 9 and 20 >= 20 evaluates to True because both conditions separated by the and operator are true. Specifically, 10 != 9 is true because 10 is not equal to 9, and 20 >= 20 is true because 20 is equal to 20.

Answered By

2 Likes


Related Questions