Python chr() Function Syntax
chr(num)
Parameters
- num: an Unicode code integer
Return: Returns str
chr() Function in Python
chr() function returns a string representing a character whose Unicode code point is the integer specified.
chr() Example:
Python3
num = 97 print ( "ASCII Value of 97 is: " , chr (num)) |
Output
ASCII Value of 97 is: a
Contact Us