Jump to content

Sum of a series: Difference between revisions

Line 1,734:
 
=={{header|langur}}==
<syntaxhighlight lang="langur">writeln "calc.: ", fold fn{+}, map fn(.x) { 1/.x^2 }, 1..1000
writeln "known: ", pi^2/6</syntaxhighlight>
 
990

edits

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