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 ede3c94 (Fri, 23 May 2025 14:43:18 GMT)