RosettaCodeData/Task/List-comprehensions/Ioke/list-comprehensions.ioke
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

7 lines
87 B
Text

for(
x <- 1..20,
y <- x..20,
z <- y..20,
x * x + y * y == z * z,
[x, y, z]
)