Continue Outside Loop Python Dictionary Append