Answer:
nrToCheck = int(input("How many numbers do you need to check? "))
nrEven = 0
nrOdd = 0
for i in range(nrToCheck):
number = int(input("Enter number: "))
if (number % 2):
nrOdd = nrOdd + 1
print("{} is an odd number".format(number))
else:
nrEven = nrEven + 1
print("{} is an even number".format(number))
print("You entered {} even number(s).".format(nrEven));
print("You entered {} odd number(s).".format(nrOdd));
twitter
they will allow you to share comments about any topic you want