title: memory adresses instead of append in list manipulation (poker)
body: <p>thank you for even reading this! </p>
  
  <p>so here flop = list of three cards and 
  list_of_players  is a list that has two cards in every index </p>
  
  <p>my code is trying to add the three flop cards to each index of list_of_players so that each index represents a pre turn post flop hand</p>
  
  <pre><code>from pokerset import poker_hand, deck
  
  working_deck = deck()
  
  list_of_players = [6]
  number_of_players = len(list_of_players)
  cards=2
  
  flop = []
  for i in range(3):
      flop.append(working_deck.get_card())
  
  list_of_players = [[working_deck.get_card() for i in range(2)] for i in range(6)]
  print list_of_players
  
  print flop
  
  
  for i in range(6):
      list_of_players[i].append(flop[i] for i in range(3))
  
  print list_of_players
  </code></pre>
  
  <p>but when I print list of players the output is </p>
  
  <pre><code>[[4-Diamonds, 3-Diamonds, &lt;generator object &lt;genexpr&gt; at 0x102125780&gt;], [10-Clubs, 10-Hearts, &lt;generator object &lt;genexpr&gt; at 0x102125820&gt;], [Queen-Hearts, 2-Diamonds, &lt;generator object &lt;genexpr&gt; at 0x102125870&gt;], [Jack-Diamonds, 2-Spades, &lt;generator object &lt;genexpr&gt; at 0x1021258c0&gt;], [Ace-Clubs, Ace-Spades, &lt;generator object &lt;genexpr&gt; at 0x102125910&gt;], [3-Spades, 7-Spades, &lt;generator object &lt;genexpr&gt; at 0x102125960&gt;]]
  </code></pre>
  
  <p>[Finished in 0.0s]</p>
  
  <p>the interpretation of which is beyond my understanding, could someone please take some karma from me and in return give me some advice?</p>
  
  <p>Thank you in advance guys </p>