Source Code:
(back to article)
def multiple_values(): value1 = "key1" value2 = "value1" value3 = "key2" value4 = "value2" return {value1: value2, value3: value4} result = multiple_values() print(result) # {"key1": "value1", "key2": "value2"}
Result:
Report an issue