Alex Hall gives a good answer for providing a set, and I would like to expand on it for some specific data types you mentioned:
I want to sort the final print result, for example - 7 of hearts, and then the next "card" in a list / dictionary or something that will let me compare the "table" to a user hand??
List
If you just want to put your tuples in a list, do the following:
def TableHand():
hand = []
for i in range(0, 5):
card = (RandomCardDraw(), RandomHouseDraw())
hand.append(card)
return hand
Lists are very easy to iterate over and perform various operations on. As Alex said, you may not be ready for set comprehension, so a list might be a more appropriate place to begin.
Dictionary
Storing the cards as a group in a dictionary is probably a bad way to go. Dictionaries are good fro representing things more like individual objects rather than a collection of objects. You really need to know how many elements you are going to get and have to have a standard way of naming them, so doing that dynamically is tedious and not really what dictionaries are designed for. However...
List of Dictionaries
Rather than storing the cards as tuples, you could do this:
def TableHand():
hand = []
for i in range(0, 5):
card = { "number": RandomCardDraw(), "house": RandomHouseDraw())
hand.append(card)
return hand
NB: I've made an assumption about the names you'd like to give these elements, "number" and "house".
With a list of dictionaries you make comprehension and operations easier because what you're looking for becomes clearer to access. In this case, you could get the first card in the returned hand with first_card = hand[0], and you could then get the house (or whatever you name it as in the dictionary) with house = first_card["house"].
Sorting and Comparing
There are ways to sort lists and compare them against others - it's actually probably not even going to be that difficult, int your case. But the easiest way to do it is likely with set comprehension, in which case you should approach the problem with the solution Alex suggested.