human
query remove element.
assistant
Here is a Python program to query remove element from the list

import random

def remove_element(list, index):
    """
    Removes the element at index from the list.

    >>> remove_element([1, 2, 3], 0)
    [2, 3]
    """
    return list[:index] + list[index + 1:]

# Enter the list
list = [1, 2, 3]

# Enter the index
index = 0

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

#Example Output
# [2, 3]

#Remember to inspect code for bugs.