So I have a list of x elements as such:
list = ['0001', '0002', '0003', '0004', '0005', '0006', '0007', '0008', '0009']
If a element is removed (ex: '0004'):
['0001', '0002', '0003', '0005', '0006', '0007', '0008', '0009']
How can I add an element base on the last value which in this case is '0009'?
['0001', '0002', '0003', '0005', '0006', '0007', '0008', '0009', '0010']