eldorado wrote:
> Hello,
>
> I am trying to parse some files so that if a postal code exists, but is
> longer than five digits it will return me only the first five digits:
> ...
> for insDict in insureDict:
> insDict['postalcode'] = insDict.get('postalcode')[:5]
> ...
> This works, except fo
eldorado wrote:
> Hello,
>
> I am trying to parse some files so that if a postal code exists, but is
> longer than five digits it will return me only the first five digits:
> ...
> for insDict in insureDict:
> insDict['postalcode'] = insDict.get('postalcode')[:5]
> ...
> This works, except f