How can I group the values by the first element of the list. In the example below, I want to group all values of Germany.
Input
defaultdict(