Built-in Functions
chr()
Turn a Unicode number into one character.
chr(i)
chr() converts a Unicode code point to its matching character. It is the usual counterpart to ord().
Arguments
Parameters
| Name | Description |
|---|---|
| i | A valid Unicode code point as an integer. |
Result
Returns
A one-character string.
Run it
Try it
Run it and change it
code_point = 65 print(chr(code_point))
Output
Press Run to see what it prints.