Python ord(): A Step-By-Step Guide - ItsMyCode - 0 views
-
rsrinivas on 19 Sep 21In Python ord() function accepts a single unit of character and returns the equivalent Unicode code value of the passed argument. In other words, the ord() function can take a string or character of length one and returns an integer representing the Unicode of that string or character.