Differentiate between ord() and chr() functions.
Question :
Differentiate between ord() and chr() functions.
ord() function returns the ASCII value of a character and requires single character only whereas chr() function takes ASCII value in integer from and returns the character corresponding to the ASCII value.