Sail E0 Webinar
Question
What is the output of the line of code shown below, if s1= {1, 2, 3}?s1.issubset(s1)
Options:
A .  True
B .  Error
C .  No output
D .  False
Answer: Option A


Every set is a subset of itself and hence the output of this line of code is true.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers