def upper_keys(dictionary):
 return dict(((k.upper(), v) for (k, v) in dictionary.items()))

def upper_keys ( dictionary ) : return dict ( ( ( k . upper ( ) , v ) for ( k , v ) in dictionary . items ( ) ) )
returns a new dictionary with the keys of dictionary converted to upper case and the values left unchanged .