jaslkdn,mbcjaljbk

jsadjncbka,.s
 avatar
unknown
python
4 years ago
1.1 kB
8
Indexable
# right half of the sky
Rect(200, 0, 200, 250, fill=gradient('darkSlateBlue', 'slateBlue', start='top'))
Rect(0, 0, 200, 250, fill=gradient('darkSlateBlue', 'slateBlue', start='top'))
# Draw the sail and ocean.
### (HINT: Use the ocean and the left half of the sky to cover part of the
#          sail!)
### Place Your Code Here ###
Line(200,70,200, 80, fill="midnightBlue", lineWidth=6)
Line(200,80,200, 140, fill="midnightBlue", lineWidth=6)
Line(200,140,200, 200, fill="midnightBlue", lineWidth=6)
Line(200,200,200, 250, fill="midnightBlue", lineWidth=6)# Draw the hull (base) of the ship.
Rect(0, 250, 400, 150, fill="steelBlue")
Line(200,250,200, 260, fill="midnightBlue", lineWidth=6)### (HINT: Use a Polygon, Circle, and a Rectangle.)
Circle(280, 300, 40, fill="midnightBlue")
Polygon(120, 260, 280, 260, 280, 300, 140, 300, fill="midnightBlue")
Rect(140, 300, 180, 40, fill="steelBlue")

Line(200, 80, 140, 260, fill="navy", lineWidth=2)
Line(200, 140, 230, 260, fill="navy", lineWidth=2)
### Place Your Code Here ###

# Draw the ropes and mast (the pole holding the sail).
### Place Your Code Here ###
Editor is loading...