the price of 3 pants and 6 t - shirts is rs . 750 . with the same money one can buy 1 pant and 12 t - shirts . if one wants to buy 8 t - shirts , how much shall she have to pay ?
n0 = 3.0
n1 = 6.0
n2 = 750.0
n3 = 1.0
n4 = 12.0
n5 = 8.0
t0 = n4 - n1
t1 = n0 - n3
t2 = t0 / t1
t3 = n0 * t2
t4 = n1 + t3
t5 = n2 / t4
answer = n5 * t5
print(answer)