Sum of a series: Difference between revisions

Content added Content deleted
(Add entry for Beads language)
(Added 11l)
Line 17: Line 17:
is the solution of the [[wp:Basel problem|Basel problem]].
is the solution of the [[wp:Basel problem|Basel problem]].
<br><br>
<br><br>

=={{header|11l}}==
{{trans|Python}}

<lang 11l>print(sum((1..1000).map(x -> 1.0/x^2)))</lang>

{{out}}
<pre>
1.64393
</pre>


=={{header|360 Assembly}}==
=={{header|360 Assembly}}==