deck = []
for suit in [‘Hearts’, ‘Spades’, ‘Clubs’, ‘Diamonds’]:
for rank in [‘Ace’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ’10’, ‘Jack’, ‘Queen’, ‘King’]:
deck.append(rank + ‘ of ‘ + suit)

import random
random.shuffle(deck)

print(‘Dealing…’)
player1 = []
player2 = []
player1.append(deck.pop())
player2.append(deck.pop())
print(‘Player 1: ‘ + str(player1))
print(‘Player 2: ‘ + str(player2))

while len(deck) > 0:
print(‘Dealing…’)
player1.append(deck.pop())
player2.append(deck.pop())
print(‘Player 1: ‘ + str(player1))
print(‘Player 2: ‘ + str(player2))

print(‘Game over!’)