a = ['67', '56', '23', '29', '5e', 'eb', '6f', 'c9', 'dc', 'dd', '24', '1b', '00', 'b7', '6b', '69', 'e0', 'ce', 'c9', '2c', '61', '18', '22', '10', 'cb', 'a6', 'd5', '82', 'b2', '5d', 'ef', '32']
Length of a is 32
is there any way to convert above string into bytes format with the same length. i need answer same like below
a = [b'67', '56', '23', '29', '5e', 'eb', '6f', 'c9', 'dc', 'dd', '24', '1b', '00', 'b7', '6b', '69', 'e0', 'ce', 'c9', '2c', '61', '18', '22', '10', 'cb', 'a6', 'd5', '82', 'b2', '5d', 'ef', '32']