I am working on a program that will select two random cards from a deck (our instructor is having us use a dictionary to symbolize the deck) to see if they share the same suite (hearts, spades, etc.) or the same value (Aces, 2-10, J, Q, K). Keep in mind we haven't been taught Object-Oriented Programming yet so my knowledge on those concepts is limited. This is the code I have so far but unfortunately do not know where to go from here. How should I continue from here? Keep in mind I am using PYTHON.
import random
def deck():
i = 0
suite = ['\u0003','\u0004','\u0005','\u0006']
nu = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
deck = []
total_count = []
for c in suite:
for j in range(len(nu)):
i += 1
card = nu[j] + c
deck.append(card)
total_count.append(i)
deck_dictionary = dict(zip(deck, total_count))
print(deck, '\n\n')
print(deck_dictionary)
card1= random.choice(list(deck_dictionary.values()))
card2 = random.choice(list(deck_dictionary.values()))