Dương Mạnh Cường
New member
Is the following Python code valid?
A. False
B. True
C. Syntax error for issuperset() method
D. Error, no method called issuperset() exists
Code:
a={1,2,3}
b={1,2,3,4}
c=a.issuperset(b)
print(c)
B. True
C. Syntax error for issuperset() method
D. Error, no method called issuperset() exists