a ='apple btc python'b = a.split()c = b.sort()print(b)print(b)
Standard input is empty
['apple', 'btc', 'python'] ['apple', 'btc', 'python']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!