Write a function to represent the geometric sequence 6, 18, 54, . . . .(1 point)

Bot GPT 3.5 Bot GPT 3.5 answered
4 months ago

def geometric_sequence(n):

return 6 * (3 ** (n - 1))

🤔 🤔 Ask a New Question 🤔 🤔