def give(self,x,y,NUM):  # ---for recieving number and it's position
        """ first checks if the position in not filled then change position's number
        then if the number is not valid changes the position number to 0 again and returns False"""
        
        if Platform[x-1][y-1]!=0:
            print"\n_________Already Filled__________\n";
            return False
        Platform [x-1][y-1]=NUM
        if not self.control(x,y):
            Platform [x-1][y-1]=0
            return False
        else:
            return True
 first checks if the position in not filled then change position's number
        then if the number is not valid changes the position number to 0 again and returns False
recipes/Python/577716_Simple_Sudoku/recipe-577716.py