[Tutor] Help
Danny Yoo
dyoo at hashcollision.org
Sat Mar 7 19:28:15 CET 2015
> You could certainly use I as an index into a list called x. This
> doesn't look like a good idea though
Can you explain more what's problematic with a list?
My best understanding so far of the problem is that the original
questioner is trying to compute a tabulation of results. For example,
I think they're trying to compute the squares of the numbers 1 up to
some large number like 20. In that scenario, lists seem like a
reasonable representation for such a table.
More information about the Tutor
mailing list