Home >>Python Built-in Functions >Python chr() Function
Python chr() function is used to return the character string that represents the given input Unicode value. It takes only one integer as argument.
Syntax:chr(number)
Parameter | Description |
---|---|
number | This parameter defines an integer representing a valid Unicode code point. |
x = chr(69) print(x)
print(chr(74),chr(101),chr(114),chr(114),chr(121))