有没有一种简单的方法可以在Python中按字母顺序对字符串中的字母进行排序?
因此对于:
a = 'ZENOVW'
我想回复:
'ENOVWZ'
python string
python ×1
string ×1