Python Programming - Lists - Discussion
Discussion Forum : Lists - General Questions (Q.No. 65)
65.
How can you create a list containing only the unique elements from another list in Python?
Answer: Option
Explanation:
Converting a list to a set removes duplicates, and then converting it back to a list creates a new list with unique elements.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers