Pick 1 card at random out of a deck of cards
# Type your text here from random import * def card(): suits = ["Hearts", "Diamonds", "Spades", "Clubs"] ranks = ["Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"] card = choice(ranks) + "of" + choice(suits) print("You drew: " + card)