<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["de", "en"].<end_of_turn>
<start_of_turn>user
Schreiben Sie ein Python-Programm, um die Schlüssel der niedrigsten und höchsten Werte in einem Wörterbuch zu finden.<end_of_turn>
<start_of_turn>model
def keys_of_extremes(dictionary):
    min_key = min(dictionary, key=dictionary.get)
    max_key = max(dictionary, key=dictionary.get)
    return min_key, max_key

sample_dict = {'a': 10, 'b': 50, 'c': 20}
print(keys_of_extremes(sample_dict))  # Output: ('a', 'b')
<end_of_turn><eos>