adplus-dvertising
frame-decoration

Question

What is the output of the line of code shown below, if s1= {1, 2, 3}?
s1.issubset(s1)

a.

True

b.

Error

c.

No output

d.

False

Posted under Tuples and Sets Python

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the line of code shown below, if s1= {1, 2, 3}?