Why are you repeating yourself?

`except (TypeError, ValueError):`