Answers for "nth term of gp in python when 2,3 terms given"

0

nth term of gp in python when 2,3 terms given

n1=int(input())
n2=int(input())
n=int(input())
r=n2/n1
a=n1/r
print(a*r**(n-1))
Posted by: Guest on June-08-2021

Code answers related to "nth term of gp in python when 2,3 terms given"

Python Answers by Framework

Browse Popular Code Answers by Language