There are methods in python on str class which are used to adjust the padding on texts. Ex: hello = 'Hello' print(hello.ljust(21, '-')) print(hello.center(21, '-')) print(hello.rjust(21, '-')) #Expected output for this would be Hello----------------...
rakeshverma.hashnode.dev2 min readNo responses yet.