input: def sortDictionary(dictionary):
    """
    Sort a dictionary according to its values, in descending order.
    
    >>> sortDictionary({'apple': 2, 'banana': 3, 'mango': 1})
    {'banana': 3, 'apple': 2, 'mango': 1}
    """
    sorted_list = sorted(dictionary.items(), key=lambda x: x[1], reverse=True)
    sorted_dictionary = dict(sorted_list)
    return sorted_dictionary
output:     sorted_list = sorted(dictionary.items(), key=lambda x: x[1], reverse=True)
      sorted_dictionary = dict(sorted_list)
      return sorted_dictionary