pythagorean-triplet: refactor for readability (#1599)
pythagorean-triplet: refactor for readability (#1599)

...and speed. Turns out, there was a lot of room for improvement. Rough estimate, this solution runs ~15 times faster than the current one.

Resolves #1598

@yawpitch, as you raised #1598, I welcome your input in particular on this one. As always, input from others is also welcome.

Co-authored-by: Michael Morehouse <62b1feed3dbfa9ba395f9dce80bd990de3ade39d@users.noreply.github.com>
exercism/xpython,behrtam/xpython,N-Parsons/exercism-python,exercism/python,smalley/python,exercism/python,behrtam/xpython,N-Parsons/exercism-python,jmluy/xpython,jmluy/xpython,exercism/xpython,smalley/python