'''
program to take a string and returns the number unique characters in it
'''
string = "pythonpythonversion"
string2 = set(string)
print(string2)
Output:
{'y', 'o', 'p', 'e', 's', 'i', 't', 'r', 'h', 'n', 'v'}
For further actions, you may consider blocking this person and/or reporting abuse
Jess Lee -
Ben Halpern -
Kiran Naragund -
Arindam Majumder -
Top comments (0)