dumb newbie list question
dietmar at wohnheim.fh-wedel.de
Mon Aug 20 16:29:35 CEST 2001
> > > Maybe this is a naive/stupid question, but is there anyway to grow a
> list to an
> > > arbitrary size? Eg.:
> > > >>> l = [1, 2, 3]
> > > >>> l = "x"
> > I believe l.append("x") ist what you're looking for.
> That would make l be 'x', rather than l as the original poster
> asks. To get 'x' into l, something must be placed in l and
> l as well, e.g.:
You're right, I think I was a bit too fast to answer on that one ;-)
More information about the Python-list