"" " A poker 52 cards, four players, each card 13, has been to get the card, the second person does not allow duplicate " "" Import Random NUM = [ ' A ' , ' 2 ' , ' . 3 ' , ' . 4 ' , ' . 5 ' , ' . 6 ' , ' . 7 ' , ' . 8 ' , ' . 9 ' , ' 10 ' , ' J ' , 'Q', 'K ' ] types = [ ' ♠ ' , ' ♥ ' , ' ♦ ' , ' ♣ ' ] Cards = [] # which is stored a list of all the cards for I in types: for J in NUM: cards.append (I + J ) random.shuffle (Cards) # playing cards listing all upset Print (Cards) '' ' Player1 = [] for X in Range (0,52,4): player1.append (Cards [X]) Print (' players card 1 is', player1) player2 = [] Range in X for (1,52,4): player2.append (Cards [X]) Print ( 'cards for player 2', player2) player3 = [] for X in Range (2,52,4): player3 .append (cards [X]) Print ( 'the player cards is 3', player3) player4 = [] for X in Range (3,52,4): player4.append (cards [X]) Print ( 'player 4 card is ', player4) ' '' for I in Range (0,4,1 ): L = [] for J in Range (0,52,4 ): L.append (cards [J + I]) Print ( ' players ' , I +. 1, ' 'The brand is: , L)