You want to buy exactly two gifts and spend your whole budget — not a penny more or less.
Task: write has_pair(prices, budget). Return True if two different items in prices add up exactly to budget, and False otherwise.
[5, 5] with a budget of 10 is True.[5] with a budget of 10 is False.