<filename>nested_loops.py
#turtle for loop
#nested loops
import turtle
for steps in range(4):
    turtle.forward(100)
    turtle.right(90)
    for moresteps in range(4):
        turtle.forward(50)
        turtle.right(90)
 

<filename>nested_loops.py
#turtle for loop
#nested loops
import turtle
for steps in range(4):
    turtle.forward(100)
    turtle.right(90)
    for moresteps in range(4):
        turtle.forward(50)
        turtle.right(90)
 

#turtle for loop #nested loops