Examveda

What will be the output of the following Python code?
a={1,2,3}
b={1,2,3}
c=a.issubset(b)
print(c)

A. True

B. Error, no method called issubset() exists

C. Syntax error for issubset() method

D. False

Answer: Option A


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python