aboutsummaryrefslogtreecommitdiff
path: root/challenge-258/eric-cheung/python/ch-1.py
blob: ece02350ec903a4f96cf4bba7b93a96e26071fc5 (plain)
1
2
3
4
5
6
7
## arrInt = [10, 1, 111, 24, 1000]  ## Example 1
## arrInt = [111, 1, 11111]  ## Example 2
arrInt = [2, 8, 1024, 256]  ## Example 3

arrOutput = [elemLoop for elemLoop in arrInt if len(str(elemLoop)) % 2 == 0]
print (len(arrOutput))