<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["fr", "de"].<end_of_turn>
<start_of_turn>user
Comment fusionner des dictionnaires et conserver les valeurs des clés communes dans une liste ?<end_of_turn>
<start_of_turn>model
def merge_and_combine(dict1, dict2):
    merged = defaultdict(list)
    für d in [dict1, dict2]:
        für Schlüssel, Wert in d.items():
            merged[key].append(value)
    Rückgabedikt (zusammengeführt)

dict1 = {'a': 1, 'b': 2}
dict2 = {'b': 3, 'c': 4}
print(merge_and_combine(dict1, dict2)) # Ausgabe: {'a': [1], 'b': [2, 3], 'c': [4]}<end_of_turn><eos>