title: Why are all my lists none when I pass them to a function?
body: <p>I'm trying to make a program that requires me to pass more than one list to a function. But when I  return each list in the function I passed it to, they come up as 'none'. 
  This is a coding of how one of my lists are made then passed.</p>
  
  <pre><code>def somelist(magslist):
      return magslist
  
  def main():
      alist = []
      for i in range(5):
          alist.append(i)
      somelist(alist)
  
  main()
  </code></pre>