Python ord() FunctionThe python ord() function returns an integer representing Unicode code point for the given Unicode character. SignatureParameterscharacter: A character string of length 1. ReturnIt returns an integer that represents Unicode code point for the given Unicode character. Python ord() Function Example 1The below example shows the working of ord(). Output: 56 82 38 Explanation: In the above example, it returns an integer representing Unicode code point for the given Unicode character. Next TopicPython Built in Functions |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India