Python‎ > ‎Built-in‎ > ‎

chr()

http://www.adilwaseem.com/

Introduction
Python built-in-function of chr() converts the numeric value in the string character.

Syntax
chr(x)

Parameters
x=number

Examples 
The method returns with string.
 >>> 
>>> chr(80)
'P'
>>> chr(71)
'G'
>>> chr(24)
'\x18'
>>> chr(1)
'\x01'
>>> chr(401)
'Ƒ'
>>> chr(33)
'!'
>>> chr(88)
'X'
>>> 

Comments