Learned about .repeat method. Thx
TIL about repeat method! Thank you:)
This comment is hidden because it contains spoiler information about the solution
Love it, one of the many times I learn something new here!
impressive)
How so? It repeats the string n times.
Now you know bro. Learning along the way ;)
Ideally, it shouldn't be an empty string. When the repeat number is 0, it means repeat 0 times, not erase the whole string. Which means when n is 0, it should simply output the string.
it doesn't work as expected
Thx for a good advice, mate!
You can't learn all the methods, but you have to strive for it
Loading collection data...
Learned about .repeat method. Thx
TIL about repeat method! Thank you:)
This comment is hidden because it contains spoiler information about the solution
Love it, one of the many times I learn something new here!
impressive)
How so? It repeats the string n times.
Now you know bro. Learning along the way ;)
Ideally, it shouldn't be an empty string. When the repeat number is 0, it means repeat 0 times, not erase the whole string. Which means when n is 0, it should simply output the string.
it doesn't work as expected
Thx for a good advice, mate!
This comment is hidden because it contains spoiler information about the solution
You can't learn all the methods, but you have to strive for it
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...