Prateek sir and coding

Please explain the error in my code. It shows run error.

hello @shreyasdaga

handle the case when ur stack is empty in such case u need to print no code