exactly 3 sides of a certain 10 - sided die are red . what is the probability that kumar rolls the die 3 times and the die lands with a red side up for the first time on the third roll ?
n0 = 3.0
n1 = 10.0
n2 = 3.0
t0 = n0 / n1
t1 = n1 - n0
t2 = t1 / n1
t3 = t2**min(2.0, 5)
answer = t0 * t3
print(answer)