Time to get creative! In this exercise, you’ll use the turtle module to draw a smiley face. Make it your own — there is no single right answer here.
Your smiley should have at least:
But don’t stop there! You could also add:
Experiment, play, and have fun with it. Here’s one possible outcome for inspiration — yours can look completely different!
Some useful turtle functions for drawing circles and arcs:
turtle.circle(radius) — draws a full circle counterclockwiseturtle.circle(radius, extent) — draws an arc of extent degreesturtle.begin_fill() / turtle.end_fill() — fill a shape with the current fill colorturtle.fillcolor("yellow") — set the fill colorturtle.penup() / turtle.pendown() / turtle.goto(x, y) — move without drawingturtle.setheading(angle) — point the turtle in a specific direction (0 = right, 90 = up)Automated feedback
Your code will be checked for syntax errors and common code issues, but the correctness of your drawing is not verified automatically — this is only an indication of whether your code is syntactically correct. Make sure to look at your own output and verify that it matches what the assignment asks for.