Hi @mbunel ,
The function that you posted is named
digital_sum, but the instructions asked for one named
digit_sum. So, this message that you posted must apply to an earlier version of your code ...
"Your fonction fail on 434 enter because int object is not callable"
The code that you posted is not formatted properly, so we cannot see its indentation. But, if you change the function's name to
digit_sum, as follows, in the function header and in the statement that calls it, it should work ...
tot = 0
for i in str(x) :
tot = tot + int(i)