[Tutor] html checker

eryksun eryksun at gmail.com
Mon Oct 1 22:34:55 CEST 2012

On Mon, Oct 1, 2012 at 4:23 PM, eryksun <eryksun at gmail.com> wrote:
> Finally:
>         print(s1)
> If s1 is an iterable sequence, you can print the string using either
> "print(''.join(s1))" or "print(*s1, sep='')". Also, at this point
> should s1 be emptied?

Sorry, that last statement was wrong. I was thinking you were
progressively printing the contents of each tag. But that would need
to happen when you pop() the stack. What you need to do here is
"return True", else your function implicitly returns "None".

More information about the Tutor mailing list