[Tutor] Adding numbers within a string

LQ Soh sohlq710 at gmail.com
Tue Oct 11 20:37:26 EDT 2016


To whom it may concern,
Can someone enlighten me as to how you can create a function such
that sum_numbers('10 5 8'), when run, will give an answer of 23, without
using str.split() and using a for loop


More information about the Tutor mailing list