6 Answers
+ 5
Java
"Hello".repeat(3)
+ 4
This should do.
https://code.sololearn.com/cTPL3EMNInW8/?ref=app
+ 3
Sumit Programmerđđ that was too easy. I don't know how I missed that, there are a lot of methods to remember and I keep forgetting them.
+ 2
Avinesh yah its too easy and i accidently remember that method
+ 1
Is there any possibility to do this without using for loop
0
U can use for loop