Try Except Example Python Dictionary Append