Write a NumPy program to sort pairs of first name and last name return their indices. (first by last name, then by first name). first_names = (‘Betsey’, ‘Shelley’, ‘Lanell’, ‘Genesis’, ‘Margery’) last_names = (‘Battle’, ‘Brien’, ‘Plotner’, ‘Stahl’, ‘Woolum’)
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer