Thomas 'PointedEars' Lahn wrote:

>         key = m.group(1)
>         value = int(m.group(1))

        value = int(m.group(2))

 
>         if key not in od:
>           od[key] = value
>         else:
>           od[key] += value

-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to