Common Items
Easy · Sets
A set holds unique items. set(a) & set(b) gives the items found in both. Sets have no order, so use sorted(...) to turn the result into a sorted list.
Write a function common(a, b) that returns a sorted list of the items that appear in both lists, without duplicates.