in Python by
Q:
What Does The Ord() Function Do In Python?

▼ Show 1 Answer

0 votes
by
The ord(char) in Python takes a string of size one and returns an integer denoting the Unicode code format of the character in case of a Unicode type object, or the value of the byte if the argument is of 8-bit string type.

>>> ord("z")

122
Python
Learn More with Madanswer

Related questions

0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
...