project/grid.py
def click(self, pos, choice):
        """
        Clicking on cell will change it's state to choice of color currently pressed (1-5)
        Default is white
        """
        x, y = int(pos[0] / self.scale), int(pos[1] / self.scale)
        self.curr_array[x][y] = choice

        Clicking on cell will change it's state to choice of color currently pressed (1-5)
        Default is white
        
Clicking on cell will change it's state to choice of color currently pressed (1-5)
Default is white
Clicking on cell will change it ' s state to choice of color currently pressed ( 1 - 5 ) Default is white
def click(self, pos, choice):
        x, y = int(pos[0] / self.scale), int(pos[1] / self.scale)
        self.curr_array[x][y] = choice
def click ( self , pos , choice ) : x , y = int ( pos [ 0 ] / self . scale ) , int ( pos [ 1 ] / self . scale ) self . curr_array [ x ] [ y ] = choice
Clicking on cell will change it's state to choice of color currently pressed (1-5)
Default is white
Clicking on cell will change it ' s state to choice of color currently pressed ( 1 - 5 ) Default is white
"""
        Clicking on cell will change it's state to choice of color currently pressed (1-5)
        Default is white
        """
self
pos
choice