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

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science