Comment

Jonah Bishop

You can pad with a character by doing the following (the padding character must come before the direction and length): f"{mystr:*<10}" # Yields 'peter****'