#coding = utf-8 import random def Creat_Card(): card_type = ['♥','♠','♦','♣'] card_values= ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'] n=1 cards = ['大J','小J'] for i in card_type: for j in card_values: cards.append((i+j)) n += 1…