for key in a:
if key in c:
if c[key] == a[key]:
print('key %s 相等' % key)
else:
print('key %s 不相等' % key)
else:
print('c中无key %s' % key)
for key in a:
if key in c:
if c[key] == a[key]:
print('key %s 相等' % key)
else:
print('key %s 不相等' % key)
else:
print('c中无key %s' % key)