What will be the output of the following Python program? z=set(‘abc’) z.add(‘san’) z.update(set([‘p’, ‘q’])) z
What will be the output of the following Python program?
z=set('abc') z.add('san') z.update(set(['p', 'q'])) z
a. {‘a’, ‘c’, ‘c’, ‘p’, ‘q’, ‘s’, ‘a’, ‘n’}
b. {‘abc’, ‘p’, ‘q’, ‘san’}
c. {‘a’, ‘b’, ‘c’, ‘p’, ‘q’, ‘san’}
d. {‘a’, ‘b’, ‘c’, [‘p’, ‘q’], ‘san}