converting int to character in python code example
Example 1: python convert character to integer
>>> chr(97)
'a'
>>> ord('a')
97
>>> int('1')
1
Example 2: int ot char python
print(ord('a'))
#Output
97
>>> chr(97)
'a'
>>> ord('a')
97
>>> int('1')
1
print(ord('a'))
#Output
97