18
Jun

Python Program to Sort string

Question:

Write a program to sort the string accepted from the user

Program:

Explanation:

The sort function returns the sorted data item.

Output: