()
| 54 | rt(6) |
| 55 | |
| 56 | def setup(): |
| 57 | global second_hand, minute_hand, hour_hand, writer |
| 58 | mode("logo") |
| 59 | make_hand_shape("second_hand", 125, 25) |
| 60 | make_hand_shape("minute_hand", 130, 25) |
| 61 | make_hand_shape("hour_hand", 90, 25) |
| 62 | clockface(160) |
| 63 | second_hand = Turtle() |
| 64 | second_hand.shape("second_hand") |
| 65 | second_hand.color("gray20", "gray80") |
| 66 | minute_hand = Turtle() |
| 67 | minute_hand.shape("minute_hand") |
| 68 | minute_hand.color("blue1", "red1") |
| 69 | hour_hand = Turtle() |
| 70 | hour_hand.shape("hour_hand") |
| 71 | hour_hand.color("blue3", "red3") |
| 72 | for hand in second_hand, minute_hand, hour_hand: |
| 73 | hand.resizemode("user") |
| 74 | hand.shapesize(1, 1, 3) |
| 75 | hand.speed(0) |
| 76 | ht() |
| 77 | writer = Turtle() |
| 78 | #writer.mode("logo") |
| 79 | writer.ht() |
| 80 | writer.pu() |
| 81 | writer.bk(85) |
| 82 | |
| 83 | def wochentag(t): |
| 84 | wochentag = ["Monday", "Tuesday", "Wednesday", |
no test coverage detected