Answers for "how to sort list in ascending order in python"

-1

how to sort list in ascending order in python

# vowels list
vowels = ['e', 'a', 'u', 'o', 'i']

# sort the vowels
vowels.sort()

# print vowels
print('Sorted list:', vowels)
Posted by: Guest on March-12-2021

Code answers related to "how to sort list in ascending order in python"

Python Answers by Framework

Browse Popular Code Answers by Language