0 of 464 solved

Find Unique Elements in a List

Write a function `find_unique_elements(lst)` that returns the distinct values from `lst`.

Keep the first occurrence of each value and preserve the original order.

#### Example
Input: `[1, 2, 2, 3, 4, 4, 5]`
Output: `[1, 2, 3, 4, 5]`
def find_unique_elements(lst):
    """
    Finds the unique elements in a given list.

    Args:
        lst (list): The input list.

    Returns:
        list: A new list with the unique elements.
    """
    # TODO: Implement the find_unique_elements function
    pass