from random import randint

#Functions
def countEvens (nums):
    evenCount=0

    for number in nums:
        if number%2 ==0:
            evenCount +=1
    print (" There are %d even numbers in this list.")

#Running Code

numlist =[]
for x in range (10):
    num=radint (0,9)
    numlist.append(num)
print(numlist)
