title: How to create a variable that is made up of multiple tuples without it being a tuple made of tuples?
body: <p>I'm writing a code that should give the mandel sequence for two coordinates x and y</p>
  
  <pre class="lang-py prettyprint-override"><code>Point = Tuple[float, float]
  def mandel_seq(x: float, y: float, n: int = 100) -&gt; Sequence[Point]:
      (u_0, v_0) = (0.0, 0.0)
      (u_n,v_n) = (x+u_0**2-v_0**2,y + 2*u_0*v_0)
      bound = 0
      smallest_reached=False
      result_seq = (u_0,v_0) + (u_n, v_n)
      lst = []
      while smallest_reached==False and bound &lt; n:
          (u_n, v_n) = (x + u_n ** 2 - v_n ** 2, y + 2 * u_n * v_n)
          bound = bound + 1
          result_seq = result_seq + (u_n,v_n)
          if u_n**2 + v_n**2 &gt; 4:
              smallest_reached = True
              for i in range(0, 8, 2):
                  lst.append((result_seq[i:i + 2]))
              result_seq = tuple(lst)
      return [result_seq]
  </code></pre>
  
  <p>mandel_seq(1,0) should give:[(0.0, 0.0), (1.0, 0.0), (2.0, 0.0), (5.0, 0.0)] but gives [((0.0, 0.0), (1.0, 0.0), (2.0, 0.0), (5.0, 0.0))]</p>
  
  <p>I'm not sure how to integrate the Point variable defined at the top to make the output correct. I can't change what is returned. It has to be [result_seq]</p>