# # Cviceni 4, ukol B: vlastni comparer pro funkci sort # def my_comparer(a, b): return 0 def main(): list1 = [1, 6, 4, 9, 2, 5] list2 = [1, -6, 4, 9, -2, -5] print list1 print list2 list1.sort() list2.sort(my_comparer) print list1 print list2 main()