def summary_data(name_list, weight_list):
    """ Reads the names and weights of fruits in two list and puts them in a
        string format to be written into a pdf file.

        name: Fruit names
        weight: Fruit Weight lbs

    Args:
        name_list(list): list of fruit names.
        weight_list(list): list of the weight of each fruit.

    Returns:
        summary(string): A string with the name and wight of each fruit on each
        line.
    """
    summary = ""
    for i in range(len(name_list)):
        summary += 'name: {} <br /> weight: {} <br /><br />'.format(name_list[i],
                                                                weight_list[i])
    return summary