title: Python function doesn't work
body: <p>I'm learning Python, and I am up to the chapter on functions, and I wrote code for one: </p>
  
  <pre><code>import random
  
  def roll(sides, dice):
      result = 0
      for rolls in range(0,dice):
          result += random.randint(1, sides)
      return result
  </code></pre>
  
  <p>but, when I try to enter the function, this comes up</p>
  
  <pre><code>Traceback (most recent call last):
  
  
  File "&lt;pyshell#16&gt;", line 1, in &lt;module&gt;
      roll ()
  TypeError: roll() takes exactly 2 positional arguments (0 given)
  </code></pre>