Testcases are wrong

May i know fault in my code? and how can we initialise the n between 1 and 9.

Hey lakshay,
Replace space to tab(5 space) and then check

No, I just need to initialise n in betwee 1 to 9. And I want to know how to do it.

here is your working code link - https://ide.codingblocks.com/s/172808

1 Like

n=x will initialise n with x

@lakshay2311 is your doubt got cleared?

No, I didn’t get it can you please do the same in my code?

your code is already correct.

Oh, sorry. I got my error corrected. Thank you mate :slight_smile:

1 Like

please mark it resolved