Code to Character in Python

Level 114 keystrokes

This converts a Unicode code point to its corresponding character using the chr() function.

Python code

# chr() is the reverse of ord(): it turns a Unicode code point into a character
# Code point 65 is the letter "A", so A is printed
1print(chr(65))

Output

A
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this Python code and how often they appear.

  • (× 2
  • )× 2

More Python examples at level 1

← Python typing practice