Hello evryone i'm stuck please help
I get "Your function crashed on 434 as input because your function throws a "'str' object is not callable" as an error i read about someone having the same error (not on code academy) about redifinning what str ment so i assume the error is when i convert n from int to a string.
Replace this line with your code. def digit_sum(n): if n > 0: n = str(n) list(n) n (int, n) return sum(n) else: print "Your number is not positive sorry"
Thanks in advance,