import random
card1 = random.randint(1, 14)
if card1 == 1:
print('1 of Hearts')
elif card1 == 2:
print('2 of Hearts')
elif card1 == 3:
print('3 of Hearts')
#It's basically this over and over again, 11-14 would be ace, jack, queen, and king.
I'm trying to condense my code down into a way to where I don't have to make a new line of code every time I want to specify what a number from the random.randint means. If there isn't a way then please tell me so I'm not just searching for this for days.
If there's a problem in my communication with this please tell me and I'll fix it.