Hi, as beginner in python , I struggle somewhat to filter out only the maximum in the values for and get hmax. Maybe it easier when i change the structure of h?
Many thanks in advance Christian h = {'abvjv': ('asyak', 0.9014230420411024), 'afqes': ('jarbm', 0.9327883839839753), 'aikdj': ('jarbm', 0.9503941616408824), 'ajbhn': ('jarbm', 0.9323583083061541), 'ajrje': ('jbhdj', 0.9825125732711598), 'anbrw': ('jarbm', 0.950801828672098)} hmax = {'abvjv': ('asyak', 0.9014230420411024), 'ajrje': ('jbhdj', 0.9825125732711598), 'anbrw': ('jarbm', 0.950801828672098)} -- http://mail.python.org/mailman/listinfo/python-list