def setValue(size=0, value=0.0):
    """
        Return a python list with every value initialised to value.
    """

    lst = []

    i = 0

    while i < size:
        lst.append(value)
        i += 1

    return lst