generated from mwc/lab_turtle
I changed the star shape into a cactus with a pink flower on top.
I felt overwhelmed at first, being in a completely new platform and environment left me a bit confussed. Working through the process though led me to feeling a bit more confident in my abilities. I am unfamiliar with coding, which can lead me to feeling defeated when things do not work out. However, I did begin to pick up the skills needed for this assignment and was able to create a project that I am happy with.
This commit is contained in:
parent
7f0ee3d5f7
commit
bfc631c322
75
drawing.py
75
drawing.py
|
@ -1,21 +1,68 @@
|
|||
# drawing.py
|
||||
# ----------
|
||||
# By ______(you!)________
|
||||
# By ______(R Marshall Hall)________
|
||||
#
|
||||
# This is a drawing of ???.
|
||||
# This is a drawing of a cactus with a pink flower.
|
||||
|
||||
|
||||
from turtle import *
|
||||
|
||||
color("brown")
|
||||
forward(50)
|
||||
color("green")
|
||||
left(90)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
|
||||
input()
|
||||
left(45)
|
||||
forward(20)
|
||||
right(45)
|
||||
forward(45)
|
||||
right(35)
|
||||
forward(20)
|
||||
right(45)
|
||||
forward(30)
|
||||
right(90)
|
||||
forward(60)
|
||||
right(10)
|
||||
forward(10)
|
||||
left(90)
|
||||
forward(5)
|
||||
left(50)
|
||||
forward(20)
|
||||
left(50)
|
||||
forward(75)
|
||||
right(35)
|
||||
forward(50)
|
||||
right(45)
|
||||
forward(25)
|
||||
color("pink")
|
||||
forward(5)
|
||||
left(100)
|
||||
forward(5)
|
||||
right(100)
|
||||
forward(5)
|
||||
forward(5)
|
||||
left(100)
|
||||
forward(5)
|
||||
right(100)
|
||||
forward(5)
|
||||
left(100)
|
||||
forward(5)
|
||||
right(100)
|
||||
forward(5)
|
||||
right(50)
|
||||
forward(15)
|
||||
right(45)
|
||||
forward(10)
|
||||
right(10)
|
||||
color("green")
|
||||
forward(50)
|
||||
right(25)
|
||||
forward(80)
|
||||
left(10)
|
||||
forward(75)
|
||||
right(10)
|
||||
forward(50)
|
||||
left(10)
|
||||
forward(10)
|
||||
left(100)
|
||||
color("brown")
|
||||
forward(200)
|
Loading…
Reference in New Issue