I'm new to python, started doing it in quarantine just for fun. I was working on some Python code the other day, and decided to create an image with the turtle program. I'm seeing a lot of repetition here, so I was wondering if there was a way I could shorten it. Here's the code:
import turtle
wn = turtle.Screen()
House = turtle.Turtle()
House.forward(150)
House.left(90)
House.forward(110)
House.left(45)
House.forward(110)
House.left(90)
House.forward(110)
House.left(45)
House.forward(110)
wn.mainloop()
Thanks!