What is a block means in Python 3? : guys.
I am a newbie in programming and trying to learn Python from automatetheboringstuff.com.
At the end of Chapter 2, the question below shows up. 
And even after I have go through the official answer, I still am clueless. 
Please help!

https://pastebin.com/Hhvwm5Qb (answer included)

    spam = 0
    if spam == 10:
        print('eggs')
        if spam > 5:
            print('bacon')
        else:
            print('ham')
        print('spam')
    print('spam')


