def convert_dict_to_list(dictionary):
    """
    Accepts a dictionary and return a list of lists.
    @example:   input : { "python" : 50, "json": 100, "text" : 20}
                output : [['python', 50], ['json', 100], ['text', 20]]
    """
    output_list = []
    for k in dictionary.keys():
        output_list.append([k, dictionary[k]])

    return output_list