leftpad
is a Python library for padding the left of strings.
pip install leftpadx
from leftpad import leftpad
print(leftpad("epic", 100, "@"))
Expected output:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@epic