title: Trying build a user input dice rolling program in Python, but I can't get my input to go into my def
body: <p>This is the code so far. I'm new to Python and programming so this is a bit of a frankencode.
  I want the user to input the size die they would like to roll and how many they want to roll. I'm getting nothing to come out once I've coded this.</p>
  
  <pre><code>import random
  
  die_size = int(input('What is the size of your die? [enter a #]'))
  rolls = int(input('How many would you like to roll? [enter a #]'))
  
  def dice_sim(die_size, rolls):
  
  results = 0
  dice_sum = 0
  
      for i in range(0,rolls):
          results = random.randint(1,die_size)
          print("Die %d rolled %d." % (i+1,results))
          dice_sum += results
  
      print("Total of %d dice rolls is: %d" % (rolls,dice_sum))
  
      return None
  </code></pre>