Python chr() Function

❮ Built-in Functions


Example

Get the character that represents the unicode 97:

x = chr(97)
Try it Yourself »

Definition and Usage

The chr() function returns the character that represents the specified unicode.


Syntax

chr(number)

Parameter Values

Parameter Description
number An integer representing a valid Unicode code point

Related Pages

Convert back to unicode with the ord() function.


❮ Built-in Functions

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.