user
Create a function that takes a list and a number as arguments, and returns a list with the numbers multiplied by the specified number.

Now complete the following instance -
Input: [2, 4, 6]
3
Output:
assistant
def multiply_by(data, multiplier):
    return [x*multiplier for x in data]