pair_names_and_scores(names, scores) that combines two equal-length lists into a list of (name, score) tuples using zip(), then also returns a dictionary built from those pairs. Return a tuple (pairs_list, pairs_dict).names = ['Ana', 'Bo'], scores = [90, 75]
([('Ana', 90), ('Bo', 75)], {'Ana': 90, 'Bo': 75})zip() pairs elements positionally; dict() turns pairs into a mapping.
list(zip(names, scores)) gives the pairs.
dict(zip(names, scores)) builds the mapping directly.