filmov
tv
Python Program to Find ASCII Value of Character

Показать описание
ord() function to convert a character to an integer (ASCII value). Which is a built-in function in Python that accepts a char (a string of length 1) as an argument and returns the Unicode code point for that character. We can use this function to find the ASCII value of any character. While ASCII only encodes 128 characters, the current Unicode has more than 100,000 characters from hundreds of scripts.