def sortirovka_po_alfavitu(spisok): return sorted(spisok) rezultat = sortirovka_po_alfavitu(['a', 'z', 'b', 'y'])print(rezultat)
Standard input is empty
['a', 'b', 'y', 'z']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!