0

I am trying to generate a program using the builtin Random and generate an algorithm that determines whether the number is odd or even. I need to write a program that generates 100 random numbers, determine if its even or odd and finally count the number of even and odd. I am new to Python.

This is what I have thus far, but nothin is working. Could someone give me a push in the right direction?? Thank you so much.

```
import random
def main():
# explain program
intro()
# get a random number
number = random.randint(1,100)
# generate Boonlean variables
is_even(number)
while True:
status = True
for is_even in range(1,100):
number = random.randint(1,100)
print ("The positive number count is: ",number)
else:
status = False
for is_even in range (1,100):
number = random.randint(1,100)
print ("The odd number count is: ", number)
input("press enter to continue.") # required
def is_even(number):
if (number % 2) == 0:
status = True
else:
status = False
return status
```