1. What’s new
a. rstrip() method
2. Code
class Solution:
def findNumbers(self, nums) -> int:
numOfEven = 0
for e in nums:
if len(str(e))%2 == 0:
numOfEven += 1
return numOfEven
Check out the my GitHub repo for more info on the code. If you have questions, you can leave a reply on this post.