Hi!
I'm learning python and I have a question about matix.
I think that this method creates a matrix, right?
How can I, in an easy way, compare the elements in the matrix to one another?
Thanks!
I'm learning python and I have a question about matix.
Code:
ef __init__(self,colors=[], forms=[], numbers=[], grades=[]):
self.cardList = []
self.playerCardList = []
self.lista3 = []
self.lista4 = []
for color in colors:
for form in forms:
for number in numbers:
for grade in grades:
tmp= Kort(color, form, number, grade)
self.cardList.append(tmp)
How can I, in an easy way, compare the elements in the matrix to one another?
Thanks!
Comment