Use ord() to Convert Character to ASCII Value

Use ord() to Convert Character to ASCII Value

The ord() function returns the ASCII value of the first character of a string. This is useful for converting characters to their ASCII values.

← Back to Tips List