someone to explain how I can check if a list in 2D list is repeated more than one time and get the number of repetition.
i can get the half of what i'm looking for with:
grid[i] in grid # check if there is a line in the 2D list
now I want to get the number of repetition