Try it here
Subscribe
Python function

Python chr function

python_chr_function

chr() function returns the string denoting a character whose Unicode code point is an integer.

The chr() function,in Python version 3.0, it got removed and got re-added in Python 3.2.

For example, the chr(122) returns the string ‘z’ whereas the chr(1212) returns the string ‘Ҽ

>>> chr(122)
'z'
>>> chr(1212)
'Ҽ'
>>> 

Writer profile pic

Sneha on Apr 27, 2020 at 11:04 am


This article is contributed by Sneha. If you like dEexams.com and would like to contribute, you can write your article here or mail your article to admin@deexams.com . See your article appearing on the dEexams.com main page and help others to learn.



Post Comment

Comments( 0)

WEB TECHNOLOGY

Articles

×

Forgot Password

Please enter your email address below and we will send you information to change your password.