title: Unknown syntax error
body: <p>Why do I get a syntax error running this code? If I remove the highlighted section (return cards[i]) I get the error highlighting the function call instead.</p>
  
  <p>Please help :)</p>
  
  <pre><code>def dealcards():
      for i in range(len(cards)):
          cards[i] = ''
          for j in range(8):
              cards[i] = cards[i].append(random.randint(0,9)
      return cards[i]
  
  
  print (dealcards())
  </code></pre>