

Task

Given a character value in your language, print its code   (could be ASCII code, Unicode code, or whatever your language uses).



Example

The character   'a'   (lowercase letter A)   has a code of 97 in ASCII   (as well as Unicode, as ASCII forms the beginning of Unicode).

Conversely, given a code, print out the corresponding character.




# ASCII char
charCode = 97
char$ = "a"
print chr(97)	#prints a
print asc("a")  #prints 97
 
# Unicode char
charCode = 960
char$ = "π"
print chr(960)  #prints π
print asc("π")  #prints 960