Extra None character printing in Batching of Sequence Models

When I ran the print_char function in the Padding of vector video of Sequence-Models, I am getting an extra None getting printed after the last
Any idea why?

Please paste the code snippet that you’re running.