HTML Tables

Adrian Smith adrian_p_smith at yahoo.com
Mon Aug 18 19:59:11 EDT 2008


On Aug 19, 6:49 am, Fredrik Lundh <fred... at pythonware.com> wrote:
> Adrian Smith wrote:
> >> Just want to know how to create html tables using a for loop.
> >> I need to display 34 html tables, so I figured a for loop will do.
> >> Please show me an example of how to do that.
>
> > for i in range(33):
>
> range(33) returns 33 numbers, not 34 (the upper bound is not inclusive).

Oops! Thought it went over 0-33, my bad.



More information about the Python-list mailing list