How do I output the array's elements (on odd positions, that have an odd amount of even digits?

前端 未结 0 1233
南方客
南方客 2021-01-23 22:47

If I have 4 elements, in this order: 4 10 2546 and 100, 4 and 2546 are on odd positions, 4 has 1 even digit and 2546 has 3 even digits, so the output should be "4 2546"

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