Hilbert Curve Analysis
<p>I'm just starting to learn Python and I don't understand the ability of calling the same function inside itself?</p>

<p>Here is an example:</p>

<pre><code>import turtle
from turtle import left, right, forward

size = 10

def hilbert(level, angle):
    if level == 0:
        return

    turtle.color("Blue")
    turtle.speed("Fastest")

    right(angle)
    hilbert(level - 1, -angle)
    forward(size)
    left(angle)
    hilbert(level - 1, angle)
    forward(size)
    hilbert(level - 1, angle)
    left(angle)
    forward(size)
    hilbert(level - 1, -angle)
    right(angle)
</code></pre>

<p>How exactly does this work?</p>

<p>Thanks.</p>
