ljust() - Returns a left justified version of the string

Returns a left-justified version of the string with the specified width and fill character.

Example

Python
print('My String'.ljust(20, '-'))

Output

My String-----------