Hi, I'm stuck in this activity.
Well, I think console window typed the correct answer, though there was still an error that says 'Your function fails on digit_sum(434). It returns None when it should return 11. ' What is wrong?
Oh, here is my code:
def digit_sum(n): inte = str(n) results = list(map(int, inte)) b = sum(results) print b digit_sum(434)