bhaaluu wrote:

> def popNum(num):
>     if num == stackA[-1]:
>         stackA.pop()

What happens here if stackA is empty?

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to