A tailor records customers as [height_cm, weight_kg]. She wants to know whether two particular customers would land in the same size group.
Heights and weights are in different units, so she scales first.
Task: write same_group(people, n_groups, pairs).
StandardScaler().fit_transform(...).AgglomerativeClustering(n_clusters=n_groups) on the scaled data, with the default linkage.pairs is a list of [i, j] row-index pairs. For each pair, in order, return True if rows i and j got the same cluster, and False if not.Return the list of booleans. Make sure each one is a plain Python bool.