a = 3r = 3n = 3sequence = [a * r**i for i in range(n)]print("Geometric progression with first term {0} and common ratio {1}:".format(a, r))print(sequence)
Not registered? Create an account
Forgot Password?
Already a registered user? Login