YouTip LogoYouTip

Python Func Unichr

# Python2.x Python unichr() Function [![Image 3: Python Built-in Functions](#) Python Built-in Functions](#) * * * ## Description The unichr() function is functionally similar to the chr() function, but it returns a Unicode character. **Note**: Python3 does not support unichr(); use the [chr()](#) function instead. ### Syntax Here is the syntax for the unichr() method: unichr(i) ### Parameters * i -- Can be a number in decimal or hexadecimal form. ### Return Value Returns a Unicode character. * * * ## Examples The following examples demonstrate the use of the unichr() method: >>>unichr(97)u'a'>>>unichr(98)u'b'>>>unichr(99)u'c' [![Image 4: Python Built-in Functions](#) Python Built-in Functions](#)
← Python Func ExecPython Func Enumerate β†’