Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Show-ASCII-table/Nim/show-ascii-table.nim
Normal file
10
Task/Show-ASCII-table/Nim/show-ascii-table.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import strformat
|
||||
|
||||
for i in 0..15:
|
||||
for j in countup(32 + i, 127, step = 16):
|
||||
let k = case j
|
||||
of 32: "Spc"
|
||||
of 127: "Del"
|
||||
else: $chr(j)
|
||||
write(stdout, fmt"{j:3d} : {k:<6s}")
|
||||
write(stdout, "\n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue