Prateek sir and coding


sir/mam this is giving correct o/p but not passing any tc ??
plz have a look and mark mistakes,

you need to print No Code in case there is no element in the stack when a student comes
Corrected Code: