RosettaCodeData/Task/List-comprehensions/Mathematica/list-comprehensions-1.math

2 lines
68 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Select[Tuples[Range[100], 3], #1[[1]]^2 + #1[[2]]^2 == #1[[3]]^2 &]