+ 2
How to find character used in a string?
input-aabcds output-[a,b,c,d,s]
3 Answers
+ 1
+ 3
A python version could be like this:
s = list(set(input("Give me some text\n")))
s.sort() #if sort is needed
print("This is the result: ", s)
0
java:
string.toCharArray();