Select the correct option to test your answer:
Computer
Introduction To Python
Difficulty: Medium
What will be the value of 'result' in following Python program? list1 = [1,2,3,4] list2 = [2,4,5,6] list3 = [2,6,7,8] result = list() result.extend(i for i in list1 if i not in (list2+list3) and i not in result) result.extend(i for i in list2 if i not in (list1+list3) and i not in result) result.extend(i for i in list3 if i not in (list1+list2) and i not in result)
More Computer Questions
Which emerging trend in data science focuses on using AI and data analytics to enhance the efficiency of customer support and services?
Which is the alternate name for JavaScriptCore that is used by Safari?
Which of the following is not a standard exception in Python?
Which data structure is commonly used to implement priority queues?
What is a callback function in the context of delegates and events in C#?