title: mechanism of 'int(random()*10)'
body: <p>In python we can use int(random()*10) to import random interger, then mechanism of this is round the decimal? I wonder this because if what I think is happen, probability of 0 and 1 should be different,,</p>