Here is a more Pythonic version of the function using a list comprehension:

def double_numbers(numbers):
    return [number * 2 for number in numbers]


This function does the same thing as the original function, but it uses a list comprehension instead of a for loop to create the list of doubled numbers. List comprehensions are a more concise and expressive way of creating lists in Python.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence