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----------------...
Learner of Math, AI, IOT ; Enthusiastic in building new things; Salesforce Developer
Markdown supported · ⌘↵ to post
No responses yet.