Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

21
Task/Nth/Pluto/nth.pluto Normal file
View file

@ -0,0 +1,21 @@
local fmt = require "fmt"
local ranges = {range(0, 25), range(250, 265), range(1000, 1025)}
print("Without apostrophes:\n")
for ranges as r do
fmt.tprint("%6s", r:mapped(|e| -> fmt.ord(e)), 10)
print()
end
print("With apostrophes:\n")
local function apos(e)
local o = fmt.ord(e)
return o:sub(1, -3) .. "'" .. o:sub(-2)
end
for ranges as r do
fmt.tprint("%7s", r:mapped(|e| -> apos(e)), 10)
print()
end