# str.ljust(width[, fillchar]) >>> 'hi'.ljust(10) 'hi ' >>> 'hello'.ljust(10, '-') 'hello-----' # custom formatting >>> f'{"hi":<10}' 'hi '
a = "I am legend" print(a.ljust(15))