Python ord() Function
Definition and Usage
The ord() function returns the number
representing the unicode code of a specified character.
Syntax
ord(character)
Parameter Values
| Parameter | Description |
|---|---|
| character | String, any character |
Related Pages
Convert back to character with the chr() function.