### Instruction: if the ratio of the sum of the first 6 terms of a g . p . to the sum of the first 3 terms of the g . p . is 343 , what is the common ratio of the g . p ? Let's write a Python program.### Response: n0 = 6.0
n1 = 3.0
n2 = 343.0
t0 = 1.0 / n1
t1 = n2 - 1.0
answer = t1**min(t0, 5)
print(answer)