Simple exercise

Thomas 'PointedEars' Lahn PointedEars at web.de
Thu Mar 10 06:07:40 EST 2016


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.



More information about the Python-list mailing list