the program should run correctly, but I keep on having this error ,even after refrershing the page!
to finally have this level finished , and that finally the back test confirms that the code is OK !
Replace this line with your code. Do not remove the backticks that are above or below this line. def somme_chiffre(n): number_of_digits = len(str(n)) total = 0 i = 0 while i < number_of_digits: total = total + (n % 10) n = n // 10 i += 1 return total