title: Trying to combine a list into sublists for players in a blackjack game using python
body: <p>I'm working on making my own blackjack game without using other solutions. This is just part of the code because I'm working in steps. I want to combine a list of cards in order to make a new list for each player. I have for the first pair cards dealt to 4 players:</p>
  
  <pre><code>shuffled_deck = [['A', '♦'], ['6', '♣'], ['2', '♥'], ['Q', '♦'], ['K', '♦'], ['3', '♠'], ['8', '♠'], ['9', '♠']]
  
  players = [[1], [2], [3], [4]]
  </code></pre>
  
  <p>desired output>> </p>
  
  <pre><code>[[['A', '♦'], ['K', '♦']], [['6', '♣'], ['3', '♠']], [['2', '♥'], ['8', '♠']], [['Q', '♦'], ['9', '♠']]]
  </code></pre>
  
  <p>Its's just dealing two cards to 4 players, like in blackjack.
  I can create it using this:</p>
  
  <pre><code>#EXAMPLE 1    
  for i in range(0,4):
      players[i] = [shuffled_deck[i]]
  
  for j in range(0,4):
      players[j].append(shuffled_deck[j+4])
  </code></pre>
  
  <p>But I'd like to do it with something like this, but can't figure out how.</p>
  
  <pre><code>count = 0
  people = []
  
  def combine_2_cards(people=[], count=count):
      while count &lt; 8:
          people.append(shuffled_deck.pop(0))
          count += 1 
          return combine_2_cards(people, count)
      return people
  
  players = combine_2_cards(people, count)
  </code></pre>
  
  <p>Which just creates the original shuffled_cards list. Maybe there's even a better way?</p>
  
  <p>I need to make it append like in the desired output.</p>