friends = [("Anne", 30), ("Mark", 25), ("John", 27)] friend_ages = dict(friends) # {"Anne": 30, "Mark": 25, "John": 27}