K Means Clustering ( Generating random numbers for center)

As shown in the image below , i could not understand the reason for multiplying the random numbers by 2 and then subtracting it by 1 . I understand why we multiplied it by 10 .
image

Well , i just figured it out :sweat_smile: