Is the following Python code valid? [code] a={1,2,3} b={1,2,3,4} c=a.issuperset(b) print(c) [/code]

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

Tìm kiếm

Back
Top