human
Write me a Python function to query remove element.
assistant
Here is a Python function to query remove element

import random

def remove_element(list, element):
    """Remove element from list."""
    return list[:]

# Enter the list
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((remove_element(list, 1)))

#Example Output
# [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

#Remember to inspect code for bugs.