Question

Python Turtle Write a program using the turtle module to draw the face of a clock that looks like the image below. You will need to use the turtle module for this exercise as well as the bgcolor), shape(), color), penup), right(), forward(), pendown(), and stamp() functions. The code below can be removed or changed as needed. import turtle t turtle.Turtle0 t.forward(75)

Please help with this python turtle problem using the functions provided.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

// Screenshot of code

// Sample output

// Code to copy

import turtle

myWindow = turtle.Screen()

myWindow.bgcolor("lightgreen")

t = turtle.Turtle()

t.shape("turtle")

t.color("blue")

t.pensize(5)

for i in range(12):   

t.penup()

t.forward(180)

t.pendown()

t.forward(30)

t.penup()

t.forward(40)

t.stamp()

t.backward(250)

t.right(360/12)

myWindow.mainloop()

Add a comment
Know the answer?
Add Answer to:
Please help with this python turtle problem using the functions provided. Python Turtle Write a program...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT