Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 45)
45.
How do you convert a list into a set?
set(list_variable)
list_variable.to_set()
list_variable.as_set()
convert_set(list_variable)
Answer: Option
Explanation:
The set() constructor can be used to convert a list into a set.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.