Comment faire une fonction pour choisir des choses aléatoires dans Python

import random
def deal_card():
    cards = [11,2,3,4,5,6,7,8,10,10,10,10]
    card = random.choice(cards)
    return card
Programmer of empires