# A Python program to return multiple # values from a method using dictionary # This function returns a dictionary def fun(): d = dict(); d['str'] = "ali alizadeh" d['x'] = 20 return d # Driver code to test above method d = fun() print(d)