Write a function in Python which takes a list of numbers as input and outputs a list with each element multiplied by two.
[3, 5, 8, 9]
def list_multiplication(nums):
    output_list = []
    for i in range(len(nums)):
        output_list.append(nums[i] * 2)
    return output_list