List comprehensions: Difference between revisions

no edit summary
(→‎{{header|Visual Basic .NET}}: Tested, fixed "==" error in Linq, added output and removed "untested" flag.)
No edit summary
Line 335:
}
</lang>
 
=={{header|Ela}}==
 
<lang ela>let pyth n = [(x,y,z) \\ x <- [1..n], y <- [x..n], z <- [y..n], x**2 + y**2 == z**2]</lang>
 
=={{header|Erlang}}==
Anonymous user