What will be the output of the following Python code?
>>> a={1,2,3}
>>> b=a.add(4)
>>> b
>>> b=frozenset([3,4,5])
>>> a-b
>>> a={5,6,7} >>> sum(a,5)
निम्नलिखित Python कोड का आउटपुट क्या होगा?
>>> {x*2 for x in a|{4,5}}
>>> a={5,6,7,8}
>>> b={7,8,9,10}
>>> len(a+b)
Is the following Python code valid?
a={1,2,3}
b={1,2,3,4}
c=a.issuperset(b)
print(c)
s=set()
type(s)
The following Python code results in an error.
s={2, 3, 4, [5, 6]}