Why this pascal triangle code showing wrong answer

Hey @thakur0_0
Please share the link to the question .

https://hack.codingblocks.com/app/practice/3/285/problem

Hey @thakur0_0

Code is absolutely correct, issue is of spaces.
Your output is not exactly matching with the req output because of spaces
So here I corrected it : https://ide.codingblocks.com/s/351731

1 Like

@Kartikkhariwal1 Thanks :slight_smile:

1 Like

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.