Why are two test cases failing?

please reply .

hi @rudragarg09006_4fa678534132a743 u have shared wrong code