# Arup Guha
# 2/3/2024
# Introduction to Turtle

import turtle

# horizontal
turtle.forward(100)

# turn and go up.
turtle.left(90)
turtle.forward(200)

# Draw the roof.
turtle.right(90)
turtle.forward(50)

# Go back down.
turtle.right(90)
turtle.forward(200)

# More ground.
turtle.left(90)
turtle.forward(100)

# y will be y value of each horizontal line being drawn.
for y in range(0, 200, 20):

    # Pick up the pen so I don't mark accidental stuff.
    turtle.penup()

    # Move my pen to the left side of the building going in the pos x dir.
    turtle.setpos(100, y)
    turtle.seth(0)

    # Put the pen down and draw the floor!
    turtle.pendown()
    turtle.forward(50)
