Question: Please, write a Python program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how
Please, write a Python program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many of them are odd.
I think that im almost there,but I am running into a few errors. Thank You!

? *Assignment10part2.py-C:/Users/Main/Documents/Schoolio/Fall 2018/IS 1 1 5 IntroToProgra..' File Edit Format Run Options Window Help import random def main) print ("This is an Odd/Even number counter") even 0 print ("Retrieving random numbers...") for count in range (100) num-random.randit (1,1000) print (num) if (CheckEven (num) ): even-even+1 else: oddFodd+1 print ('The even numbers are: ',even) print ('the odd numbers are:,odd) def CheckEven (num): if (num%2=-0) : return True main () Ln: 24 Col: 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
