Text Processing2 / 14
Up next

String multiplication

# a divider line
$rule = "=" * 20
$rule
# indent by repeating spaces
(" " * 4) + "indented"
What you're solving

repeat a string with the * operator