+ 1
trying to solve a problem for code coach "that's odd" it seems i does not add to n =0 in sololearn but works on a different IDE
name =input() n = 0 for i in name: i = int(i) if(i%2==0): n +=i print(n)
1 ответ
0
Get the print statement in the for loop so it will work