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