Chr and Ord Function in Python:
We can use the PyCharm code editor for this example. If you do not know about it then follow this link- How to install PyCharm for Python and create a program in it. |
(1) chr() Function- Converts ASCII value of x to a character.

(2) ord() Function- Returns the character associated with the ASCII code x.

Comments (No)