This sucks.

Brian Quinlan brian at sweetapp.com
Fri Mar 7 09:07:50 CET 2003


Try changing:

numlist = number.split(".")

to:

numlist = map(int, number.split("."))

Your problem is that your list is of strings.

Cheers,
Brian 






More information about the Python-list mailing list