Short and easy solution but something's wrong! Cannot pass 3 testcases - used random.choice()
Hi, I tried solving it using random.choice(). Firstly, I made an array that had X and Y ranges in a list for each rectangle. Later, I simply used random.choice 
Hi, I tried solving it using random.choice(). Firstly, I made an array that had X and Y ranges in a list for each rectangle. Later, I simply used random.choice in selecting the rectangle and later on points by applying choice on selecting x_coordinate and y_coordinate.\n\nI don\'t know how to explain the approach exactly, but you can see the working code here. 32/35 cases passed and logic seems somewhat correct to me. Can anyone help me find out what the issue is?\n\n```\nclass Solution:\n\n    def __init__(self, rects: List[List[int]]):\n        \n        self.another_array_with_limits = []\n        for rec in rects:\n            X_and_Y_range = [[rec[0],rec[2]], [rec[1],rec[3]]] # [[x-range], [y_range]]\n            self.another_array_with_limits.append(X_and_Y_range)\n               \n    def pick(self) -> List[int]:\n        \n        get_random_array = random.choice(self.another_array_with_limits)\n        random_x = random.choice(range(get_random_array[0][0], get_random_array[0][1] + 1))\n        random_y = random.choice(range(get_random_array[1][0], get_random_array[1][1] + 1))\n        \n        return [random_x, random_y]\n\n\n```
[]