LearnPy Hub
← Tuples & Sets problems
Easy

Letters Used

Read a word and print the different letters it uses, in alphabetical order, as one string (''.join(sorted(set(word)))).

Input

One word.

Output

One word.

Sample 1

Input
banana
Output
abn

Sample 2

Input
hello
Output
ehlo
solution.py
Output appears here
Letters Used · Python practice problem · LearnPy Hub