PATTERN WITH ZEROS : all 3 testcases fail but i get the correct output in every ide

PATTERN WITH ZEROS