Swap a pair
Write swap(pair) that takes a tuple of two values and returns a tuple
with them the other way round.
swap(("bread", 25)) -> (25, "bread")
def swap(pair):
...
Write swap(pair) that takes a tuple of two values and returns a tuple
with them the other way round.
swap(("bread", 25)) -> (25, "bread")
def swap(pair):
...