alphabetorder
Submit solution
Python
Points:
10 (partial)
Time limit:
8.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Alphabet Soup
Have the function AlphabetSoup(str) take the str string parameter being passed and return the string with the letters in alphabetical order (ie. hello becomes ehllo). Assume numbers and punctuation symbols will not be included in the string.
Input: First line states the no of test cases The second line takes the string as input
Output For each testcase, output in a single line containing the strings with the letters in alphabetical order to be displayed
Sample Input:
1
CodeByte
Sample Output
bcdeeorty
Comments