You can do:
>>> a="ZENOVW"
>>> ''.join(sorted(a))
'ENOVWZ'
More Related Contents:
- How t extract last part of a text in python [duplicate]
- Split Strings into words with multiple word boundary delimiters
- Filter pandas DataFrame by substring criteria
- Why do backslashes appear twice?
- How to get the value of a variable given its name in a string? [duplicate]
- Changing one character in a string
- Converting a string representation of a list into an actual list object [duplicate]
- How to delete a character from a string using Python
- Remove all special characters, punctuation and spaces from string
- using backslash in python (not to escape)
- Pandas Extract Number from String
- Python str vs unicode types
- python: SyntaxError: EOL while scanning string literal
- n-grams in python, four, five, six grams?
- Finding a substring within a list in Python [duplicate]
- Best way to parse a URL query string
- Python string literal concatenation
- Python- how do I use re to match a whole string [duplicate]
- Is there a native templating system for plain text files in Python?
- Python: is using “..%(var)s..” % locals() a good practice?
- Setting the fmt option in numpy.savetxt
- Adding backslashes without escaping [duplicate]
- What does “table” in the string.translate function mean?
- How do I verify that a string only contains letters, numbers, underscores and dashes? [duplicate]
- Is there a better way to find if string contains digits? [duplicate]
- Fast string array – Cython
- Copy text between parentheses in pandas DataFrame column into another column
- How can I pad a string with spaces from the right and left? [duplicate]
- pandas combine two strings ignore nan values
- Python replace function [replace once]