First, my problem happens on the French version of the Python track “C’est en forgeant qu’on devient forgeron”, on the 4th exercice (Digit Sum) that can be found at this adress:
n = str(n)
somme = 0
for i in n:
I’m submitting this code, but I got an error message regarding the call of an “int” object.
I’m using a chromebook and the latest version of Chrome. Here is a snapshot of the page with it’s error message.
I’ve also tried other working solutions proposed by English members for who it worked properly, and all returned the same error message to me.
Hope it is a legitimate problem and not me making some stupid mistake.
Thanks for your help !
edit: Forgot to mention that’s from the Python course