Contact: aviboots(AT)netvision.net.il
39,895 questions
51,826 answers
573 users
arr = bytearray() arr.append(0) arr.append(1) arr.append(2) arr.append(3) arr.append(4) arr.append(5) print(arr) del arr[2:4] print(arr) ''' run: bytearray(b'\x00\x01\x02\x03\x04\x05') bytearray(b'\x00\x01\x04\x05') '''