title: 100 random numbers with an odd and even counter
body: <p>I have the following assignment:</p>
  
  <blockquote>
    <p>In this chapter you saw an example of how to write an algorithm that determines whether
    a number is even or odd. Write a program that generates 100 random numbers, and keeps
    a count of how many of those random numbers are even and how many are odd.</p>
  </blockquote>
  
  <p>This is how far I've been able to get, I can get the 100 numbers, but I can't figure out how to total up the odd and evens. This is supposed to include a value returning boolean function as well.</p>
  
  <p>All we're allowed to use is loops, if-elif-else, functions, and other basic things.</p>
  
  <pre><code>import random
  
  NUMBER_LIST = [random.randint(0,1000)]
  
  def main():
  
      for numbers in range(100):
  
          number = print(NUMBER_LIST)
          number
  
      is_even(number)
  
      print('The total amount of even numbers is', even_count)
      print('The total amount of odd numbers is', 100 - even_count)   
  
  def is_even(number):
  
      even_count = 0
  
      for number in NUMBERS_LIST:
          if (number % 2):
              even_count += 1
  
      return even_count
  
  main()
  </code></pre>
  
  <p>EDIT:
  I'm not supposed to use a List, so if theres a way to do it without, let me know!</p>