Python bytearray function example

The bytearray() function in Python returns a  new array of bytes. The bytearray class is a mutable sequence of integers