# Write a Python program to Custom sorting in list of tuples # Python3 code to demonstrate working of# Custom sorting in list of tuples# Using sorted() + lambda  # Initializing listtest_list = [(7, 8), (5, 6), (7, 5), (10, 4), (10, 1)]  # printing original listprint("The original list is : " + str(test_list))  # Custom sorting in list of tuples# Using sorted() + lambdares = sorted(test_list, key = lambda sub: (-sub[0], sub[1]))  # printing resultprint("The tuple after custom sorting is : " + str(res))