Documentation

Function defined in library builtins

chr(code_point)

chrcode_point

Converts a Unicode code point into a character.

Inverse of the function ord.

code_pointUnicode code point

Character represented by the code point
Code
chr(65)
Result
'A'
Code
chr(97)
Result
'a'

See also chr in the official documentation

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 6d0a2211 (Mon, 31 Aug 2026 14:32:18 GMT)