# sorting medium

Alphabet Soup

Stir the word until its letters float in alphabetical order. 🍜

You get a lowercase word. Print its letters sorted alphabetically, glued back into one string.

Example:

Input: word = "banana" Output: aaabnn

Sorting the letters a, a, a, b, n, n alphabetically and gluing them back together spells aaabnn.

💡 need a hint?

sort-alphabet-soup.py🔒 given lines are locked — write your code in between
loading...