def problem1():

    def multiple(number):
        if number % 3 == 0 or number % 5 == 0:
            return True
        else:
            return False

    def sum_multiples(multipleList):
        result = 0
        for multiple in multipleList:
            result += multiple
        return result
    multipleList = []
    for i in range(1000):
        if multiple(i):
            multipleList.append(i)
    print(sum_multiples(multipleList))


if __name__ == '__main__':
    problem1()

870d8abf0248fb6785ab2a75226364597f6d316e
<mask token>

def problem1():

    def multiple(number):
        if number % 3 == 0 or number % 5 == 0:
            return True
        else:
            return False

    def sum_multiples(multipleList):
        result = 0
        for multiple in multipleList:
            result += multiple
        return result
    multipleList = []
    for i in range(1000):
        if multiple(i):
            multipleList.append(i)
    print(sum_multiples(multipleList))


<mask token>

def problem1():

    def multiple(number):
        if number % 3 == 0 or number % 5 == 0:
            return True
        else:
            return False

    def sum_multiples(multipleList):
        result = 0
        for multiple in multipleList:
            result += multiple
        return result
    multipleList = []
    for i in range(1000):
        if multiple(i):
            multipleList.append(i)
    print(sum_multiples(multipleList))


if __name__ == '__main__':
    problem1()
