To eliminate duplicates from a list like grocery_list, we can transform it into a set with set(), and the list between parentheses.

Make sure to pick set followed by ( and then grocery_list, ).