Source Code:
(back to article)
fruits = ['banana', 'apple', 'orange'] fruits.sort() print(fruits) # Output ['apple', 'banana', 'orange']
Result:
Report an issue