from random import * suits = ["Hearts","Diamonds","Clubs","Spades"] value = ["Ace","2","3","4","5","6","7","8","9","10","Jack","Queen","King"] def drawcard(): return choice(value)+" of "+choice(suits)
Create, edit, and import your Python scripts
from random import * suits = ["Hearts","Diamonds","Clubs","Spades"] value = ["Ace","2","3","4","5","6","7","8","9","10","Jack","Queen","King"] def drawcard(): return choice(value)+" of "+choice(suits)