Answers for "Python sort list alpha"

0

Python sort list alpha

data = ['Elle', 'Miles', 'Kratos', 'Joel', 'Peter', 'Nathan']

print(sorted(data))
Posted by: Guest on September-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language