Source Code:
(back to article)
def mehrere_werte(): wert1 = "schlüssel1" wert2 = "wert1" wert3 = "schlüssel2" wert4 = "wert2" return {wert1: wert2, wert3: wert4} ergebnis = mehrere_werte() print(ergebnis) # {"schlüssel1": "wert1", "schlüssel2": "wert2"}
Result:
Report an issue