my example is a success and code seems fine and inclusive but the testcases wont pass.
here’s a link to my code:
Waveprint challenege
Hi @ilovetocode
In your code you are taking m input as rows from user first and then using m as columns while printing which is why you are getting wrong answer for the test cases. And its running fine for sample case as there m and n are equal. So just take n input first from user then m, then all your test cases will pass.
Here is your corrected code :
If your doubt is clear mark it as resolved.