Home / MCQ Bank / Computer
Computer Introduction To Python

What will be the output of the following Python program? z=set('abc') z.add('san') z.update(set(['p', 'q'])) z

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • {'a', 'b', 'c', 'p', 'q', 'san'}

Related Computer Questions

What is the purpose of the 'std::semaphore' class in C++ multi-threading? 'W'h'i'c'h' 'e'l'e'm'e'n't' 's'h'o'w's' 'c'o'm'p'l'e't'i'o'n' 'p'r'o'g'r'e's's' 'o'f' 'a' 't'a's'k'?' In Internet technology, what does DNS stand for? What is the CSS Property Equivalent for the attribute <center>? What is the purpose of the "typeof" operator in C#?