PRINT SERIES Question

Can you please review my code? The loop is only executing once. I have saved the code on IDE.

Hi Rohit, Please copy your code & paste it online and click save.
Then, take that URL and share it with us here.

This code is showing passing all the test cases passed.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.