3.04 Creating Functions.pdf - 03.04 Creating Functions...

This preview shows page 1 - 3 out of 6 pages.

03.04 Creating FunctionsName: Cason MilesThis assignment has three parts.Part One:Write a program to draw a picture by defining functions and using Turtle Graphics. Usethe following guidelines to write your program.1.Give your artwork a name. Print the name to the output2.Draw a picture using the turtle. You can pick the subject of your picture. Some suggestionsinclude a house, a car, a face, a robot.3.At least two programmer-defined functions must be used.4.Use at least one color apart from black.5.The picture should include color.Insert your pseudocode here:#Cason Miles#3.04 Creating Functionsimport turtlet = turtle.Turtle()t.color("Yellow")t.begin_fill()t.forward(100)t.right(90)t.forward(100)t.right(90)t.forward(100)t.right(90)t.forward(100)t.end_fill()t.right(90)t.color("brown")t.begin_fill()t.forward(100)t.right(-120)
t.forward(100)t.right(-120)t.forward(100)t.right(-120)t.end_fill()t.right(-60)t.forward(40)t.setheading(90)t.begin_fill()t.color("brown")t.forward(30)t.right(90)t.forward(30)t.right(90)t.forward(30)t.right(90)t.end_fill()

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 6 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
NoProfessor
Tags
Computer Graphics, Following, Christopher Nolan

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture