Python Re Group Groups Groupdict Hackerrank Solution For Python