Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
7
Task/Character-codes/Nim/character-codes.nim
Normal file
7
Task/Character-codes/Nim/character-codes.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
echo ord('a') # echoes 97
|
||||
echo chr(97) # echoes a
|
||||
|
||||
import unicode
|
||||
|
||||
echo int("π".runeAt(0)) # echoes 960
|
||||
echo Rune(960) # echoes π
|
||||
Loading…
Add table
Add a link
Reference in a new issue