bhaaluu wrote: > def popNum(num): > if num == stackA[-1]: > stackA.pop()
What happens here if stackA is empty? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
bhaaluu wrote: > def popNum(num): > if num == stackA[-1]: > stackA.pop()
What happens here if stackA is empty? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor