Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Character-codes/Racket/character-codes.rkt
Normal file
11
Task/Character-codes/Racket/character-codes.rkt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#lang racket
|
||||
|
||||
(define (code ch)
|
||||
(printf "The unicode number for ~s is ~a\n" ch (char->integer ch)))
|
||||
(code #\a)
|
||||
(code #\λ)
|
||||
|
||||
(define (char n)
|
||||
(printf "The unicode number ~a is the character ~s\n" n (integer->char n)))
|
||||
(char 97)
|
||||
(char 955)
|
||||
Loading…
Add table
Add a link
Reference in a new issue