fruits = ["apple", "banana", "cherry", "orange"]fruits.sort()print(fruits)
Standard input is empty
['apple', 'banana', 'cherry', 'orange']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!