Drawing in Python
In this project we were told to draw in Python. It didn't seem that hard but it was. I was in a group with Zaira and we wanted to draw a ladybug but we decided to draw a city. We looked in the book and we had a graphing paper to draw it on.
import turtle
igor = turtle.Turtle()
turtle.bgcolor('blue')
citycolor=('black')
mooncolor=('yellow')
igor.width(8)
# Zaira put your code here
igor.begin_fill()
igor.color(mooncolor)
igor.circle(125)
igor.end_fill()
# Elly put your code here
igor.penup()
igor.color(citycolor)
igor.goto(-240,-140)
igor.pendown()
igor.begin_fill()
igor.goto(-160,-140)
igor.goto(-170,20)
igor.goto(-110,20)
igor.goto(-110,-140)
igor.goto(-80,-140)
igor.goto(-90,60)
igor.goto(-30,60)
igor.goto(-30,-140)
igor.goto(10,-140)
igor.goto(10,20)
igor.goto(70,20)
igor.goto(70,-140)
igor.goto(110,-140)
igor.goto(110,140)
igor.goto(170,140)
igor.goto(170,-140)
igor.goto(210,-140)
igor.goto(210,-160)
igor.goto(-240,-160)
igor.goto(-240,-140)
igor.end_fill()