0 out of 68 challenges solved
**Question:** Write a function called `square_dict_values` that takes a dictionary as input and returns a new dictionary where the values are the squares of the original values. Use dictionary comprehension to create the new dictionary. **Example:** Input: {"a": 2, "b": 3, "c": 4} Output: {"a": 4, "b": 9, "c": 16}
def square_dict_values(dictionary): """ Creates a new dictionary where the values are the squares of the original values. Args: dictionary (dict): The input dictionary. Returns: dict: A new dictionary with the squared values. """ # TODO: Implement the square_dict_values function pass