Jump to content

Descending primes: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
Line 1,500:
{{libheader|Wren-perm}}
{{libheader|Wren-math}}
{{libheader|Wren-seq}}
{{libheader|Wren-fmt}}
<syntaxhighlight lang="ecmascriptwren">import "./perm" for Powerset
import "./math" for Int
import "./seq" for Lst
Line 1,513 ⟶ 1,512:
.sort()
System.print("There are %(descPrimes.count) descending primes, namely:")
for (chunk in Lst.chunks(descPrimes, 10)) Fmt.printtprint("$8s", chunkdescPrimes, 10)</syntaxhighlight>
 
{{out}}
9,485

edits

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