📐 A direct method to generate Pythagorean triples, quadruples and n-tuples.
-
Updated
Apr 9, 2021 - Python
📐 A direct method to generate Pythagorean triples, quadruples and n-tuples.
This is some code programmed in Python based on Pythagoras' Theorem.
Python Program to find pythagorean triples and space diagonals from first principles (i.e. inefficiently!)
Add a description, image, and links to the pythagorean-triples topic page so that developers can more easily learn about it.
To associate your repository with the pythagorean-triples topic, visit your repo's landing page and select "manage topics."