Is there an easy way to sort the letters in a string alphabetically in Python?

So for:

a="ZENOVW"

I would like to return:

'ENOVWZ'

7 Answers
7

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *