Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Character-codes/Wren/character-codes.wren
Normal file
11
Task/Character-codes/Wren/character-codes.wren
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var cps = []
|
||||
for (c in ["a", "π", "字", "🐘"]) {
|
||||
var cp = c.codePoints[0]
|
||||
cps.add(cp)
|
||||
System.print("%(c) = %(cp)")
|
||||
}
|
||||
System.print()
|
||||
for (i in cps) {
|
||||
var c = String.fromCodePoint(i)
|
||||
System.print("%(i) = %(c)")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue