Pattern mountain all test case wrong

i am getting correct pattern for any value of n but my any of the test case dont pass …plese help me…

my code …


please help

when i use ‘\t’ all test case passed but why not for " "

@Diwyanshu hey diwyanshu because there is tab space instead of normal space.