the above solution contains this - output = 1 + "*".repeat(i-1) + i; which instead of making a pattern replaces the previous output(patt). Hence, add a newline and change that output statement in else{}.
i am glad that you found it.
This comment is hidden because it contains spoiler information about the solution
Hey! It's just a hint and you should understand on your own taking help from the examples.
Thanks
I have made it quite easy and yes i checked through your code and resolved that. Thanks
Should I add something related to the same.
cool! I'm adding that.
Exactly! use return folk
Yep! there is no newline after the pattern ends.
there is no newline in the end of the pattern
you are right. zero is excluded
you are entering in a new line after the last condition terminates.
THATS NICE! keep going dude..
Loading collection data...
the above solution contains this -
output = 1 + "*".repeat(i-1) + i;
which instead of making a pattern replaces the previous output(patt).
Hence, add a newline and change that output statement in else{}.
i am glad that you found it.
This comment is hidden because it contains spoiler information about the solution
Hey! It's just a hint and you should understand on your own taking help from the examples.
Thanks
This comment is hidden because it contains spoiler information about the solution
I have made it quite easy and yes i checked through your code and resolved that.
Thanks
Should I add something related to the same.
cool! I'm adding that.
This comment is hidden because it contains spoiler information about the solution
Exactly! use return folk
Yep! there is no newline after the pattern ends.
there is no newline in the end of the pattern
you are right. zero is excluded
you are entering in a new line after the last condition terminates.
THATS NICE! keep going dude..
Loading more items...