Pattern Matching Over Python Lists

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue Jun 17 13:09:18 EDT 2008


Kirk Strauser:
> Hint: recursion.  Your general algorithm will be something like:

Another solution is to use a better (different) language, that has
built-in pattern matching, or allows to create one.

Bye,
bearophile



More information about the Python-list mailing list