numbers = [3285, 1724, 4438, 2988, 3131, 2998]
day = 17
n = 0
count = 0;
if day % 10 % 2 == 1:
n += 1
else:
n += 2
if n == 1:
for num in numbers:
if num % 10 % 2 == 1:
count += 1
else:
for num in numbers:
if num % 10 % 2 == 0:
count += 1
print(count)
To embed this project on your website, copy the following code and paste it into your website's HTML: