1 class Solution:
2     def findNumbers(self, nums: List[int]) -> int:
3         n = len(nums)
4         count = 0
5         for i in range(n):
6             s = str(nums[i])
7             if len(s) % 2 == 0:
8                 count += 1
9         return count

 

posted on 2019-12-22 13:21  Sempron2800+  阅读(203)  评论(0编辑  收藏  举报