Run error but gives correct output

what’s the error it shows run error but gives correct output.

hi @payal_05 if you pop from an empty stack, that may result in a run error. Also, you have not considered this as well

If the pile is empty, print “No Code” (without the quotes).