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 b15482e (Tue, 09 Sep 2025 14:03:12 GMT)