It is necessary to calculate the sum of the digits on the even positions. What could be the mistake?

前端 未结 0 1301
执笔经年
执笔经年 2021-02-01 04:32

It is necessary to count the numbers on the even positions. I wrote a function, but I can\'t figure out what is the error? For example, in the number 55443352, 5 + 4 + 3 + 5 = 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题