Jump to content

List comprehensions: Difference between revisions

m
→‎{{header|11l}}: removed syntaxhighlight
m (→‎{{header|CoffeeScript}}: 2*syntaxhighlight -> 1 plus comment)
m (→‎{{header|11l}}: removed syntaxhighlight)
Line 21:
{{trans|Python}}
 
<syntaxhighlight lang="11l"> print(cart_product(1..20, 1..20, 1..20).filter((x, y, z) -> x ^ 2 + y ^ 2 == z ^ 2 & y C x .. z))</syntaxhighlight>
 
{{out}}
7,818

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.