while kotwyraz = kot().split()wyrazy=wyraz[0]ciag=wyraz[1]lista = list(wyrazy)if sorted(wyrazy.lower())==sorted(ciag.lower())puts "TAK"elseputs "NIE"endend
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!