Sorting String Alphabetically

  • Share this:

Code introduction


Sorts the input string alphabetically and returns the sorted string.


Technology Stack : Built-in libraries

Code Type : String processing

Code Difficulty :


                
                    
def sorted_string(input_string):
    return ''.join(sorted(input_string))