# Christmas Tree Challenge Copy and paste the following code into IDLE and run it ``` import turtle # Move turtle up the screen turtle.penup() turtle.goto(0,200) turtle.pendown() def triangle():     turtle.fillcolor("green")     turtle.begin_fill()     turtle.right(45)     turtle.forward(70)     turtle.right(135)     turtle.forward(100)     turtle.right(135)     turtle.forward(70)     turtle.end_fill()     turtle.right(45) # Leave turtle pointing right # Draw Triangle triangle() # Move Turtle down turtle.penup() turtle.right(90) turtle.forward(50) turtle.left(90) turtle.pendown() # Draw Triangle triangle() ``` You are going to make your own Christmas Tree.  Use the code above to get you started.  You get credit for doing the following * Having three levels to the tree * Putting a trunk on the bottom * Put a star on the top * Using for loops to draw the tree * Add baubles to the branches Need more help? Follow this link for a YouTube tutorial on making a Christmas tree: <https://m.youtube.com/watch?fbclid=IwAR1Q_CzYUhmAsfHgXJ-ltS-UaTMHbNDf7xMvTw8HKiH6tMF35tqT3mG_Zd4&v=kJlem3CA76U> And here's one that makes a Santa Hat <https://youtu.be/FR6gKKEM19A> ## Christmas Tree Challenge Extension Here's a more advanced way of drawing the tree: ``` import turtle import math # Move turtle up the screen turtle.penup() turtle.goto(0,200) turtle.pendown() # Draw Triangle def triangle(side):     turtle.fillcolor("green")     turtle.begin_fill()     turtle.right(45)     turtle.forward(math.sqrt(side**2 + side**2))     turtle.right(135)     turtle.forward(2*side)     turtle.right(135)     turtle.forward(math.sqrt(side**2 + side**2))     turtle.end_fill()     turtle.right(45) # Leave turtle pointing right # Move Turtle down def move_down(side):     turtle.penup()     turtle.right(90)     turtle.forward(side)     turtle.left(90)     turtle.pendown() def draw_tree(side, height):     for n in range(height):         triangle(side)         move_down(side) draw_tree(50,3) ``` Here's a snowman and some random snowflakes ``` import turtle, random bob = turtle.Turtle() wn = turtle.Screen() wn.bgcolor("black") bob.pencolor("white") bob.penup() bob.setx(30) bob.sety(-180) bob.pendown() bob.fillcolor("white") bob.begin_fill() bob.circle(80) bob.end_fill() bob.penup() bob.sety(-100) bob.pendown() bob.begin_fill() bob.circle(60) bob.end_fill() bob.penup() bob.sety(-10) bob.pendown() bob.begin_fill() bob.circle(35) bob.end_fill() bob.penup() bob.setx(15) bob.sety(25) bob.pendown() bob.begin_fill() bob.fillcolor("black") bob.pencolor("black") bob.circle(3) bob.end_fill() bob.penup() bob.setx(40) bob.sety(25) bob.pendown() bob.begin_fill() bob.circle(3) bob.end_fill() bob.penup() bob.setx(15) bob.sety(10) bob.pendown() bob.right(70) bob.circle(15,150) bob.penup() while True:   bob.color("white")   bob.penup()   bob.goto(random.randint(-600,600),random.randint(-600,600))   bob.pendown()   bob.dot(10)   bob.speed(1000) ``` Combine the ideas in the code above to create your own Christmas scene...