Python - Dump ques about nest loop in Python : I got a dump question about nest loop in Python.

I just wanna to figure out why that second statement will follow the fist 

statement to loop 5 times? Below are my loop code, hope someone can explanation to me. Thanks in advance! :)
    
    for steps1 in range(5):
       print('@@@')
       print('@@@')
       for steps2 in range(4):
              print('###')
              print('###')