Home » Programming Language (coding) » Python MCQ » What will be the output of the following Python code?

What will be the output of the following Python code?

What will be the output of the following Python code?

>>> a={5,4}
>>> b={1,2,4,5}
>>> a<b

A. {1,2}
B. True 
C. False
D. Invalid operation 

Answer: B. True

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
29 − 29 =