I have following code which try to convert an integer value to two individual bytes in a bytearray.
value = 13183 print("Initial value: ", value) va