Python "IndentationError: expected an indented block" After Checking Indentation
<p>I keep getting the following error even though I've checked all the idents to make sure they're indents and not spaces:</p>

<p>File "", line 13
    """</p>

<p>^
IndentationError: expected an indented block</p>

<pre><code>import random

def guess_the_number():

    number, guesses = random.randint( 1, 20 ), 1

    inpName = input('Hello! Enter your name? \n')

    print('{}, there is a number f a number between 1 and 20.'.format(inpName))
    print('Take a guess what it is.')

    guess = input()

    while guess != number:

        if guess &lt; number:
            print('That is too low.')
            print('Take another guess.')
            guesses += 1
            guess = input()

        else:
            print('That is to high.')
            print('Take another guess.')
            guesses += 1
            guess = input()

     if guess == number:
        print('Good job {} you guessed the number in {} guesses!'.format(inpName, guesses))
</code></pre>

<p>Also for your further references, it is recommended by the <a href="https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces" rel="nofollow">Style Guide for Python Code</a> that   </p>

<blockquote>
  <p>Spaces are the preferred indentation method. Tabs should be used solely to remain consistent with code that is already indented with tabs.</p>
</blockquote>

python python-3.x