dict1 = {}dict2 = {'host': 'earth', 'port': 80}print cmp(dict1, dict2)dict1['host'] = 'earth'print cmp(dict1, dict2)dict1['port'] = 8080print cmp(dict1, dict2)dict1['port'] = 80print cmp(dict1, dict2)
Name (required)
email (will not be published) (required)
Website