Dictionary: The keys, values, and items Functions : Dictionary values « Dictionary « Python






Dictionary: The keys, values, and items Functions

Dictionary: The keys, values, and items Functions
params = {"server":"mpilgrim", "database":"master", "uid":"sa", "pwd":"secret"} 
print params.keys()

print params.values()

print params.items()
           
       








Related examples in the same category

1.Dictionary: values and itervaluesDictionary: values and itervalues