Q. What is the output of if 10 > 5: print(‘Yes’)?

A
No
B
Yes
C
Error
D
None
Solution:

If 10 > 5 is True, ‘Yes’ is printed as the condition is met.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!