No test cases are passing

no test cases are passing.
link https://ide.codingblocks.com/s/191376

@nirmachoudhary204 You haven’t completed the code. And use stack for insertion and deletion. You’ll be able to get an AC then.

But i am getting expected output with some input while testing.
And i am using stack for insertion and deletion.

@nirmachoudhary204 Your code is correct but you haven’t taken the case will stack is empty you have to print no code in that case

Thanks for the suggestion. It worked.
But i wonder how do i know if i need to print “no code”?
Where is it mentioned?
" In case the pile is empty, the student goes away empty-handed."

@nirmachoudhary204 . If the pile is empty, print “No Code” (without the quotes).
It is mentioned in the output section.

@nirmachoudhary204 If your issue has been resolved please mark this doubt as resolved.

yeah i see it now… i missed that. Thanks… I have marked it resolved already.