Language Basics Python

x = 1
if x:
    y = 2
    if y:
        print 'block2'
    print 'block1'