CodeType
Learn
…
←
Strings In Depth
9 / 19
Up next
Repeat a string
@main
def
main
():
Unit
=
// * repeats a string n times
println(
"ab"
*
3
)
What you're solving
the * operator repeats text
Explain more ↓
Start typing →