How to isolate a constant?

Paul Rudin paul.nospam at rudin.co.uk
Sun Oct 23 06:23:38 EDT 2011


Gnarlodious <gnarlodious at gmail.com> writes:

> Thanks for all those explanations, I've already fixed it with a tuple.
> Which is more reliable anyway.

neither of lists or tuples are "more reliable" than the other. They both
have perfectly well defined behaviour (which can be gleaned from reading
the documentation) and reliably behave as documented. You just have to
choose which fits better for the computation you're trying to implement.





More information about the Python-list mailing list