I appeal to your skills because I find myself stuck while I peeled a bunch of topics about it. This is the compiler's answer that I can't get around :
"Oops, try again. Your function failed on 434 as input because your function indicates " 'int' object is not callable" error"."
Here is my code :
def somme_chiffre(n): compte = 0 for x in str(n): compte += int(x) return compte
Can anyone help me please ?
Thank you very much in advance