title: What causes my function to return None at the end?
body: <p>My very simple python function is returning <code>None</code> at the end of it and I'm not sure quite why. I've looked at some other posts and still can't figure it out.</p>
  <p>Here is my code:</p>
  <pre><code>def printmult(n):
      i = 1
      while i &lt;= 10:
          print (n * i, end = ' ')
          i += 1
      
  print(printmult(30))
  </code></pre>