The chr() function returns a string representing a character from the given Unicode code integer. For example the integer 'a' has a unicode code of 97, therefore, chr(97) returns the string 'a'.
Syntax:
chr(integer_code)
print all the characters with a unicode code from 70 and 80
All the lowercase letters has Unicode values from 97,to 122, where 'a' has a code of 97 and 'z' has a code of 122, and the others are in between. We can print the lowercase letters using chr() as follows.
The integer code value must be in the range 0-1114111 (0x10FFFF in base 16). If the argument is outside this range, a ValueError will be raised.
more examples:
The ord() function serves exactly the opposite purpose, where you give it a character and it returns the unicode integer code of the character.