Pythagorean triples: Difference between revisions

Content added Content deleted
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 3,460: Line 3,460:
Scratch is a visual programming language. Click the link, then "see inside" to see the code.
Scratch is a visual programming language. Click the link, then "see inside" to see the code.


https://scratch.mit.edu/projects/79066598/
https://scratch.mit.edu/projects/168687954/


Output: 17 Pythagorean triples with a perimeter less than 100, 7 of which are primitive.
Output: 100 indications that "Door ___ is _____," where doors with perfect square indices are open and the rest are closed.


=={{header|Seed7}}==
=={{header|Seed7}}==