Strings In Depth8 / 19
Up next

Repeat and pad

print("=" * 10)
print("hi".ljust(6, "."))
print("hi".rjust(6, "."))
print("hi".center(6, "*"))
What you're solving

* repeats, ljust/rjust/center pad