class Card:
def __init__(self, row, col):
self.row = row
self.col = col
for c in range(1,7):
for r in range(1,7):
Card_"row"-"col" = Card(r,c)
I want each card to be named based on its row and column. Ex. "Card_1-2" would be in row 1 and column 2, so that I can reference each card easier. Is there a way I can do that or is there a better way to look at the problem? Either way can someone please help me.