chr()
Built-in FunctionPython 2.0+Intermediate
Returns the character for a given Unicode code point
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
Learn by Difficulty
Quick Example
python
print(chr(65)) print(chr(97)) print(chr(9731))
chr() is a built-in function that returns the character for a given unicode code point.
Try in PlaygroundTags
builtinfunctioncorestringunicode