ord() is used to get the ASCII value of the character we insert.
Like ord("A") => 65
Does anyone know what ord stands for?
Is it ordinal or something else?
65 Does anyone know what ord stands for? Is it ordinal or something " /> 65 Does anyone know what ord stands for? Is it ordinal or something " /> 65 Does anyone know what ord stands for? Is it ordinal or something "/>
ord() is used to get the ASCII value of the character we insert.
Like ord("A") => 65
Does anyone know what ord stands for?
Is it ordinal or something else?
On
From the python docs for ord()
Given a string representing one Unicode character, return an integer representing the Unicode code point of that character... This is the inverse of
chr().
So ord() will return the integer that represents a single character that is passed to it.
It stands for ASCII code, which is a code for the most general characters, like letters, digits, point, comma, ...
More information can be found on Wikipedia.