Question: Challenge 4 ( Extra Credit ) Overview For this programming challenge you will use Turtle to draw trees and people ( stick figures ) .

Challenge 4(Extra Credit)
Overview
For this programming challenge you will use Turtle to draw trees and people (stick figures).
Instructions:
Below are the four functions that you need to have to complete this challenge:
Tree(t, color): the function should accept a turtle object and a color (string) and draw a tree in that color. The core of the tree is an equilateral triangle (all sides are equal).
Human(t, color): the function should accept a turtle object and a color (string) and draw a human (stick figure) in that color. The function should use the circle function to draw the head of the human.
Circle(t): the function should accept a turtle object and draw a circle.
Main(): the function should prompt the user for the number of tree-human pairs he'd like to draw and their colors (hint: can store colors in lists). The program should then use the Tree and Human functions to draw the number of tree-human pairs. For each pair, a tree should be drawn first followed by a human. The ground should be drawn in green connecting all the trees and humans.
Layout
Here are 2 runs so that you can visually see what is expected of you:
Run #1:
Challenge 4 ( Extra Credit ) Overview For this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!