Coding The Pythagorean Theorem In Python