Construct the spell

Report a typo

What does the code below print?

val spell = "abra"
println((spell + "cad").repeat(spell.length) + spell)
Enter a short text
___

Create a free account to access the full topic