Q. What will be the output of following Python code?
Code:
list1=[1,3,4,2] x=list1.pop(2) print(set([x]))
β
Correct Answer: (D)
{4}
list1=[1,3,4,2] x=list1.pop(2) print(set([x]))
You must be Logged in to update hint/solution