title: function either returns None or says "maximum recursion depth exceeded"
body: <p>I am trying to create a program that will take two sets of random integers, and print a statement based on the results of those two sets of integers. However, when I call the method, I either receive "None" or an error stating "maximum recursion depth exceeded". I can't seem to figure out how to structure my return statements within these methods so that this works properly.</p>
  
  <pre><code>def genre(a,b):
      genreType = random.randint(a,b)
  
      if genreType == '1':
          genreType = "Fantasy"
          return genre()
      elif genreType == '2':
          genreType = "Sci-Fi"
          return genre()
  
  def medium():
      mediumType = random.randint(1,2)
  
      if mediumType == '1':
          genre = genre(1,2)
          print("Play a " + genre + "game")
          return medium()
      elif mediumType == '2':
          genre = genre(1,2)
          print("Watch a " + genre + "anime")
          return medium()
  </code></pre>