I have a tuple like below:
L1 = [(10955, 'A'), (10954, 'AB'), (10953, 'AB'), (10952, 'ABCD')]
I want to fill the tuple values with '#' if the length is less than 4.
I want my output as below:
L1 = [(10955, 'A###'), (10954, 'AB##'), (10953, 'AB##'), (10952, 'ABCD')]