If statements SyntaxError: invalid syntax
<p>I wanted to calculate the median I don't know what is wrong here
UPDATE:</p>

<pre><code>def median(a,b,c):
    if a&gt;b:
        if b&gt;c:
        return b
        else:
        if a&gt;c:
            return c
        else:
            return a
    else:
        if b&lt;c:
            return b
        else:
        if a&gt;c:
            return a
        else: 
            return c
</code></pre>

<p>My error is :   File "prog.py", line 4
    return b
         ^
IndentationError: expected an indented block</p>
