Documentation

Function from 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 3c97eb0 (Wed, 14 May 2025 17:27:27 GMT)