1# test construction of bytearray from different objects
2
3print(bytearray(b'123'))
4print(bytearray('1234', 'utf-8'))
5print(bytearray('12345', 'utf-8', 'strict'))
6print(bytearray((1, 2)))
7print(bytearray([1, 2]))
8