Group List Values

Create a Python function to group duplicate elements from a list into separate sublists in their original order.

Use Python's **list comprehension** technique to write a function `group_duplicates(lst)` that processes a list `lst` consisting of numbers or strings. It should return a new list where each unique element and its duplicates from `lst` are grouped into separate sublists. ### Parameters - `lst`: A list of numbers or strings to be grouped. (list) ### Return Value - Returns a new list with sublists, where each sublist contains a unique element from `lst` and its duplicates. The order of elements in each sublist should corresponds to their original order of appearance in `lst`. (list) ### Examples ```python # 2 and 1 are unique elements in the list [2, 1, 2, 1] group_duplicates([2, 1, 2, 1]) # Returns: [[2, 2], [1, 1]] # 5, 4, and 3 are unique elements in the list [5, 4, 5, 5, 4, 3] group_duplicates([5, 4, 5, 5, 4, 3]) # Returns: [[5, 5, 5], [4, 4], [3]] # "b", "a", and "c" are unique elements in the list ["b", "a", "b", "a", "c"] group_duplicates(["b", "a", "b", "a", "c"]) # Returns: [["b", "b"], ["a", "a"], ["c"]] ```