On 01/04/2013 22:42, khao...@gmail.com wrote:
Self-bump
It's considered polite to wait for at least 24 hours before bumping a
question. You might have got more answers if you'd given a decent
subject line rather than "Help".
As it happens all you need do is loop around the string that is input,
converting every digit to an integer and storing them in a list, then
call the builtin sum function against the stored list.
You'll probably also need a try/except to handle any duff input.
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark Lawrence
--
http://mail.python.org/mailman/listinfo/python-list