Python chr() Function

Returns the character (a string) of an integer representing a unicode code point.

Syntax

Python
chr(i)

Parameters

ParameterDescription
i Required. The interger value to be converted to a character

Example

Python
print(chr(33))
print(chr(1200))

Output

!
Ұ