Concept
set()
This function returns the type after converting to a set.
s = 'book' c = set(s) print(c)
{'b', 'o', 'k'}
0
0
Updated 2021-07-27
Tags
Python Programming Language
Data Science
set()
This function returns the type after converting to a set.
s = 'book' c = set(s) print(c)
{'b', 'o', 'k'}
0
0
Tags
Python Programming Language
Data Science