"""
Make a function that does arithmetic!
"""


def arithmetic(a, b, operator):
    return {
        "add": a + b,
        "subtract": a - b,
        "multiply": a * b,
        "divide": a / b
    }.get(operator, 0)

755bea66a190d5d6ef61b909a41bc8edf7486d7b
<mask token>

<mask token>


def arithmetic(a, b, operator):
    return {'add': a + b, 'subtract': a - b, 'multiply': a * b, 'divide': a / b
        }.get(operator, 0)

"""
Make a function that does arithmetic!
"""


def arithmetic(a, b, operator):
    return {
        "add": a + b,
        "subtract": a - b,
        "multiply": a * b,
        "divide": a / b
    }.get(operator, 0)
