In this example, we are Printing characters for each Unicode integer in the numbers list.
In this example, we are generating a sequence of integers from 0 to 255.
Output['\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07', '\x08', '\t', '\n', '\x0b', '\x0c', '\r', '\x0e', '\x0f', '\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17', '\x18', '\x19...
In this article we discussed the working, uses and examples of Python chr() function. chr() function is very easy and fun to use. It is very useful when working with Unicode encoded data.