Skip to content
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().

Parameters

NameDescription
iA valid Unicode code point as an integer.

Returns

A one-character string.

Try it

Run it and change it
code_point = 65
print(chr(code_point))

Related entries