unicode_start
def unicode_start(string):
"""Returns the Unicode code point for the first character in a string."""
if not isinstance(string, str):
raise TypeError("Argument must be a string.")
return ord(string[0])>>> unicode_start("hello")
104Last updated