title: Creating a recursive geometric sequence function python
body: <pre><code>def geo():
      start = int(input()) # starting number
      multiplier = int(input()) # the multiplier
      length = int(input()) # how long the list should be
      for i in range(length):
          x = start * multiplier ** i
          print(x, "", end = "")
      print()
  </code></pre>
  
  <p>I need to create a recursive geometric function based off user input. I know how to approach it non-recursively but how do I approach it recursively? Thanks in advance. </p>
  
  <p>i.e: if the user inputs</p>
  
  <pre><code>start = 1
  multiplier = 2
  length = 5
  Output: 1, 2, 4, 8, 16
  </code></pre>
  
  <p>Edit: thanks for all the examples guys, I understand how recursion a lot better now.</p>