I am to able to find the right gap between the star

the ouput which i am getting is slightly shifted to right

help me to find the right gap between *

hello @jatinnirwan08

ss

there is some rendering issue in sample output, actual pattern is differnt.

pls check this to understand the pattern.

for n==7.
ss

for n==9

*	*	*	*	*	*	*	*	*	
*	*	*	*	 	*	*	*	*	
*	*	*	 	 	 	*	*	*	
*	*	 	 	 	 	 	*	*	
*	 	 	 	 	 	 	 	*	
*	*	 	 	 	 	 	*	*	
*	*	*	 	 	 	*	*	*	
*	*	*	*	 	*	*	*	*	
*	*	*	*	*	*	*	*	*

@jatinnirwan08

in ur code for each row u are starting it by printing space and then star

becuase of that it is shifter towards right.
fix it by first printing star and then space

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.